1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-07-15 06:08:04 +00:00

Export the list of movies of the user

This commit is contained in:
2020-03-26 12:13:53 +01:00
parent 7e9e35765e
commit 02739d3973
3 changed files with 13 additions and 2 deletions

@ -11,6 +11,7 @@ import { PostsHelper } from "./PostsHelper";
import { CommentsHelper } from "./CommentsHelper";
import { LikesHelper } from "./LikesHelper";
import { SurveyHelper } from "./SurveyHelper";
import { MoviesHelper } from "./MoviesHelper";
/**
* Account helper
@ -401,7 +402,10 @@ export class AccountHelper {
likes: await LikesHelper.ExportAllUser(userID),
// Export all responses of user to surveys
surveyResponses: await SurveyHelper.ExportAllUserResponses(userID)
surveyResponses: await SurveyHelper.ExportAllUserResponses(userID),
// User movies
movies: await MoviesHelper.GetListUser(userID),
})