This commit is contained in:
@@ -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!
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user