mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-12-26 13:38:52 +00:00
Remove a TODO
This commit is contained in:
parent
82c5c2845a
commit
77382eaca4
@ -152,7 +152,9 @@ export class FriendsController {
|
||||
|
||||
await FriendsHelper.RespondRequest(h.getUserId(), friendID, accept);
|
||||
|
||||
// TODO : create notification
|
||||
// Create notification
|
||||
await NotificationsUtils.CreateFriendsNotifications(h.getUserId(), friendID,
|
||||
accept ? NotifEventType.ACCEPTED_FRIEND_REQUEST : NotifEventType.REJECTED_FRIEND_REQUEST);
|
||||
|
||||
h.success("Response to the friendship request successfully saved!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user