mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 13:29:22 +00:00
Delete all the likes on user page
This commit is contained in:
parent
2f4b218f6f
commit
daed8eff2e
@ -9,7 +9,7 @@ import { GeneralSettings, UserPageStatus, LangSettings, SecuritySettings } from
|
|||||||
import { AccountExport } from "../entities/AccountExport";
|
import { AccountExport } from "../entities/AccountExport";
|
||||||
import { PostsHelper } from "./PostsHelper";
|
import { PostsHelper } from "./PostsHelper";
|
||||||
import { CommentsHelper } from "./CommentsHelper";
|
import { CommentsHelper } from "./CommentsHelper";
|
||||||
import { LikesHelper } from "./LikesHelper";
|
import { LikesHelper, LikesType } from "./LikesHelper";
|
||||||
import { SurveyHelper } from "./SurveyHelper";
|
import { SurveyHelper } from "./SurveyHelper";
|
||||||
import { MoviesHelper } from "./MoviesHelper";
|
import { MoviesHelper } from "./MoviesHelper";
|
||||||
import { ConversationsHelper } from "./ConversationsHelper";
|
import { ConversationsHelper } from "./ConversationsHelper";
|
||||||
@ -476,6 +476,9 @@ export class AccountHelper {
|
|||||||
|
|
||||||
// Delete user account image
|
// Delete user account image
|
||||||
await AccountImageHelper.Delete(userID);
|
await AccountImageHelper.Delete(userID);
|
||||||
|
|
||||||
|
// Delete all the likes on the user page
|
||||||
|
await LikesHelper.DeleteAll(userID, LikesType.USER);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// TODO : continue work
|
// TODO : continue work
|
||||||
|
Loading…
Reference in New Issue
Block a user