fix: send message route not accepting null

This commit is contained in:
Zomatree
2023-06-04 18:46:49 +01:00
parent 3c834d06d4
commit a7a7e49e18
7 changed files with 31 additions and 26 deletions

View File

@@ -1069,7 +1069,7 @@ pub async fn webhook_execute_github(
let message_id = Ulid::new().to_string();
let embed = sendable_embed
.into_embed(legacy_db, message_id.clone())
.into_embed(legacy_db, &message_id)
.await?;
let mut message = Message {