This commit is contained in:
Carl-Gerhard Lindesvärd
2024-07-01 22:37:38 +02:00
parent b9736315b3
commit 0bc0af8177
3 changed files with 10 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ export async function POST(request: Request) {
for (const membership of memberships) {
const access = pathOr<string[]>([], ['meta', 'access'], membership);
db.$transaction([
await db.$transaction([
// Update the member to link it to the user
// This will remove the item from invitations
db.member.update({