await transaction webhook

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-06-16 23:21:33 +02:00
parent fd7fb16313
commit 1b4a281b93

View File

@@ -78,7 +78,7 @@ export async function POST(request: Request) {
}
if (payload.type === 'user.deleted') {
db.$transaction([
await db.$transaction([
db.user.update({
where: {
id: payload.data.id,