diff --git a/src/controllers/posts_controller.rs b/src/controllers/posts_controller.rs index c2a5104..9ab852d 100644 --- a/src/controllers/posts_controller.rs +++ b/src/controllers/posts_controller.rs @@ -270,7 +270,7 @@ pub async fn update_content(r: &mut HttpRequestHandler) -> RequestResult { /// Delete a post pub async fn delete(r: &mut HttpRequestHandler) -> RequestResult { - let post = r.post_post_with_access("postID", PostAccessLevel::FULL_ACCESS)?; + let post = r.post_post_with_access("postID", PostAccessLevel::INTERMEDIATE_ACCESS)?; posts_helper::delete(&post).await?;