diff --git a/src/helpers/PostsHelper.ts b/src/helpers/PostsHelper.ts index 26b7c0f..94f6b23 100644 --- a/src/helpers/PostsHelper.ts +++ b/src/helpers/PostsHelper.ts @@ -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 + }); } /**