Skip to content

Commit

Permalink
fix: Adapt Portal MOP Services API changes - MEED-7663 - Meeds-io/MIP…
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker committed Nov 4, 2024
1 parent 011f531 commit b148b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ public void onEvent(Event<TaskDto, CommentDto> event) throws Exception {
}

private String getPortalOwner() {
return CommonsUtils.getService(UserPortalConfigService.class).getDefaultPortal();
return CommonsUtils.getService(UserPortalConfigService.class).getMetaPortal();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public static String formatMention(String comment){
portalOwner = Util.getPortalRequestContext().getPortalOwner();
} catch (Exception e){
//default value for testing and social
portalOwner = userPortalConfigService.getDefaultPortal();
portalOwner = userPortalConfigService.getMetaPortal();
}
return MentionUtils.substituteUsernames(portalOwner, comment);
}
Expand Down

0 comments on commit b148b7e

Please sign in to comment.