Skip to content

Commit cdeaa3a

Browse files
committed
now it builds
1 parent 7ca2042 commit cdeaa3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • pointercrate-demonlist-api/src/endpoints

pointercrate-demonlist-api/src/endpoints/record.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@ pub async fn patch(
214214
.apply_patch(patch.0, &mut auth.connection)
215215
.await?;
216216

217-
auth.commit().await?;
217+
tokio::spawn(execute_webhook(webhook_status_embed(&record, &auth.user.inner().name)));
218218

219-
tokio::spawn(execute_webhook(webhook_status_embed(&record, &auth.user.into_inner().name)));
219+
auth.commit().await?;
220220

221221
Ok(Tagged(record))
222222
}

0 commit comments

Comments
 (0)