mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-11-03 11:04:02 +00:00 
			
		
		
		
	Can delete posts
This commit is contained in:
		@@ -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
 | 
			
		||||
		});
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user