small front changes
This commit is contained in:
@@ -68,7 +68,7 @@ pub async fn create_post(
|
||||
.context("Failed to enqueue delivery tasks.")?;
|
||||
|
||||
let template = MessageTemplate::Success {
|
||||
message: "Your new post has been saved. Subscribers will be notified.".into(),
|
||||
message: "Your new post has been published!".into(),
|
||||
};
|
||||
let response = Html(template.render().unwrap()).into_response();
|
||||
let response = save_response(transaction, &idempotency_key, user_id, response)
|
||||
|
||||
Reference in New Issue
Block a user