mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-25 23:09:22 +00:00
Can delete posts
This commit is contained in:
parent
a1613758e4
commit
8c09848ee9
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user