We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ca2042 commit cdeaa3aCopy full SHA for cdeaa3a
1 file changed
pointercrate-demonlist-api/src/endpoints/record.rs
@@ -214,9 +214,9 @@ pub async fn patch(
214
.apply_patch(patch.0, &mut auth.connection)
215
.await?;
216
217
- auth.commit().await?;
+ tokio::spawn(execute_webhook(webhook_status_embed(&record, &auth.user.inner().name)));
218
219
- tokio::spawn(execute_webhook(webhook_status_embed(&record, &auth.user.into_inner().name)));
+ auth.commit().await?;
220
221
Ok(Tagged(record))
222
}
0 commit comments