projects
/
osm
/
NBI.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568ca90
)
Fixing role id serialization
70/7570/1
author
Eduardo Sousa
<eduardo.sousa@canonical.com>
Wed, 29 May 2019 10:09:16 +0000
(11:09 +0100)
committer
Eduardo Sousa
<eduardo.sousa@canonical.com>
Wed, 29 May 2019 10:09:16 +0000
(11:09 +0100)
Change-Id: I419523f238d17b90dfebfffdbe12eec19968255d
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
osm_nbi/admin_topics.py
patch
|
blob
|
history
diff --git
a/osm_nbi/admin_topics.py
b/osm_nbi/admin_topics.py
index
a737301
..
924ebdd
100644
(file)
--- a/
osm_nbi/admin_topics.py
+++ b/
osm_nbi/admin_topics.py
@@
-907,6
+907,8
@@
class RoleTopicAuth(BaseTopic):
"""
content_keys = list(content.keys())
+ content["_id"] = str(content["_id"])
+
for key in content_keys:
if ":" in key:
content[key.replace(":", ".")] = content[key]