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