Skip to content

Commit

Permalink
last fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Celiant committed Jul 9, 2024
1 parent 5d5b83c commit cabb6b9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions guardian-service/src/api/profile.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cabb6b9

Please sign in to comment.