From: Eduardo Sousa Date: Wed, 29 May 2019 10:09:16 +0000 (+0100) Subject: Fixing role id serialization X-Git-Tag: v6.0.0~30 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=b1d7312488e282599703e6179e4b7dfccba650b4;p=osm%2FNBI.git Fixing role id serialization Change-Id: I419523f238d17b90dfebfffdbe12eec19968255d Signed-off-by: Eduardo Sousa --- diff --git a/osm_nbi/admin_topics.py b/osm_nbi/admin_topics.py index a737301..924ebdd 100644 --- 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]