update api
All checks were successful
deploy / build-and-deploy (push) Successful in 13s

This commit is contained in:
2025-10-15 13:40:31 +02:00
parent d3af1cedfd
commit 4fee3a721a
6 changed files with 25 additions and 19 deletions

View File

@@ -120,8 +120,8 @@ export const report = {
}
sendWebhook(WebhookAction.Report, {
reporter: report.reporter.username,
reported: report.reported?.username ?? null,
reporter: report.reporter.uuid,
reported: report.reported?.uuid ?? null,
reason: input.reason
});
},
@@ -211,7 +211,7 @@ export const report = {
// send webhook in background
sendWebhook(WebhookAction.Strike, {
user: user!.uuid!
uuid: user!.uuid!
});
}
}