1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-12-26 13:38:52 +00:00

Remove a TODO

This commit is contained in:
Pierre HUBERT 2020-03-28 14:28:37 +01:00
parent ab645b67ff
commit ec323cf360

View File

@ -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;