1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-22 05:19:22 +00:00

Can delete posts

This commit is contained in:
Pierre HUBERT 2020-03-21 08:59:32 +01:00
parent a1613758e4
commit 8c09848ee9

View File

@ -507,6 +507,11 @@ export class PostsHelper {
if(await SurveyHelper.Exists(postID))
await SurveyHelper.Delete(postID);
}
// Delete the post
await DatabaseHelper.DeleteRows(TABLE_NAME, {
ID: postID
});
}
/**