From b1d7312488e282599703e6179e4b7dfccba650b4 Mon Sep 17 00:00:00 2001 From: Eduardo Sousa Date: Wed, 29 May 2019 11:09:16 +0100 Subject: [PATCH] Fixing role id serialization Change-Id: I419523f238d17b90dfebfffdbe12eec19968255d Signed-off-by: Eduardo Sousa --- osm_nbi/admin_topics.py | 2 ++ 1 file changed, 2 insertions(+) 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] -- 2.25.1