mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-22 06:50:53 +08:00
fix:
This commit is contained in:
@@ -38,8 +38,7 @@ public class ActivityService {
|
||||
}
|
||||
|
||||
public void redeem(Activity activity, User user, String contact) {
|
||||
String content = user.getUsername() + " contact: " + contact;
|
||||
notificationService.createActivityRedeemNotifications(user, content);
|
||||
notificationService.createActivityRedeemNotifications(user, contact);
|
||||
activity.getParticipants().add(user);
|
||||
activityRepository.save(activity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user