mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 05:19:22 +00:00
Remove a TODO
This commit is contained in:
parent
ab645b67ff
commit
ec323cf360
@ -3,6 +3,7 @@ import { LikesType, LikesHelper } from "../helpers/LikesHelper";
|
||||
import { UserHelper } from "../helpers/UserHelper";
|
||||
import { GroupsAccessLevel } from "../entities/Group";
|
||||
import { UserLike } from "../entities/UserLike";
|
||||
import { NotificationsHelper } from "../helpers/NotificationsHelper";
|
||||
|
||||
/**
|
||||
* Likes controller
|
||||
@ -41,7 +42,8 @@ export class LikesController {
|
||||
id = await h.postPostIDWithAccess("id");
|
||||
type = LikesType.POST;
|
||||
|
||||
// TODO : delete any notification targetting this user about the post
|
||||
// Delete any notification targetting this user about the post
|
||||
await NotificationsHelper.DeleteAllPostsNotificationsTargetingUser(h.getUserId(), id);
|
||||
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user