diff --git a/guardian-service/src/api/profile.service.ts b/guardian-service/src/api/profile.service.ts index 58f3259426..0e5d29a26a 100644 --- a/guardian-service/src/api/profile.service.ts +++ b/guardian-service/src/api/profile.service.ts @@ -484,14 +484,6 @@ async function createUserProfile( await createDefaultRoles(userDID, currentDidDocument, messageServer, notifier, user.id.toString()); } - // ----------------------- - // Publish Role Document --> - // ----------------------- - if (user.role === UserRole.STANDARD_REGISTRY) { - messageServer.setTopicObject(topicConfig); - await createDefaultRoles(userDID, currentDidDocument, messageServer, notifier); - } - notifier.completed(); return userDID; }