Manage posts on dashboard and templates fixes

This commit is contained in:
Alphonse Paix
2025-10-03 19:18:15 +02:00
parent ce8c602ddb
commit af9cbdcafb
9 changed files with 65 additions and 55 deletions

View File

@@ -136,7 +136,7 @@ pub async fn delete_post(
"We could not find the post in the database."
)))
} else {
let template = MessageTemplate::success("The subscriber has been deleted.".into());
let template = MessageTemplate::success("The post has been deleted.".into());
Ok(template.render().unwrap().into_response())
}
}