fix webhook only working when reported user is changed
All checks were successful
delpoy / build-and-deploy (push) Successful in 51s

This commit is contained in:
2023-12-24 00:58:38 +01:00
parent 8910a98489
commit 29d9765a81
2 changed files with 17 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
async function webhookUserReported(endpoint: string, uuid: string) {
export async function webhookUserReported(endpoint: string, uuid: string) {
await fetch(endpoint, {
method: 'POST',
headers: {