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!
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,8 @@ export const signup = {
|
||||
birthday: new Date(input.birthday).toISOString().slice(0, 10),
|
||||
telephone: input.phone,
|
||||
username: input.username,
|
||||
edition: input.edition
|
||||
edition: input.edition,
|
||||
uuid: uuid
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user