Skip to content

Commit

Permalink
Fixed url
Browse files Browse the repository at this point in the history
  • Loading branch information
ospodaryk committed Oct 12, 2023
1 parent 45698f3 commit ab27e1b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
@Component
public class AchievementCalculation {
private UserActionService userActionService;

private AchievementService achievementService;
private UserService userService;
private AchievementCategoryService achievementCategoryService;
Expand Down Expand Up @@ -83,7 +82,7 @@ public void calculateAchievement(Long userId, AchievementCategoryType category,

checkAchievements(achievementCategoryVO.getId(), count, userId, achievementAction);
messagingTemplate
.convertAndSend("/topic/" + userId + "/notifications", category.toString());
.convertAndSend("/topic/notifications", category.toString());
}

/**
Expand Down

0 comments on commit ab27e1b

Please sign in to comment.