Fixing typo in dbmemory.py in return messafe for replace() 42/6042/1
authorEduardo Sousa <eduardosousa@av.it.pt>
Thu, 26 Apr 2018 14:43:28 +0000 (15:43 +0100)
committerEduardo Sousa <eduardosousa@av.it.pt>
Thu, 26 Apr 2018 14:44:31 +0000 (15:44 +0100)
Change-Id: I66fc88386230cc6d53195e1d9f8be9f4cc3e2c85
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
osm_common/dbmemory.py

index c27f846..d7419f4 100644 (file)
@@ -94,7 +94,7 @@ class DbMemory(DbBase):
                     raise DbException("Not found entry with filter='{}'".format(filter), HTTPStatus.NOT_FOUND)
                 return None
             self.db[table][i] = deepcopy(indata)
-            return {"upadted": 1}
+            return {"updated": 1}
         except Exception as e:  # TODO refine
             raise DbException(str(e))