Skip to content

Commit

Permalink
fixup! Remove unnecessary promises from the fake server
Browse files Browse the repository at this point in the history
  • Loading branch information
swansontec committed Oct 2, 2023
1 parent 45379fe commit ce28083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/fake/fake-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ const vouchersRoute = withLogin2(async request => {
voucher.status = table[voucher.voucherId]
}

return payloadResponse(wasLoginPayload(await makeLoginPayload(db, login)))
return payloadResponse(wasLoginPayload(makeLoginPayload(db, login)))
})

// lobby: ------------------------------------------------------------------
Expand Down

0 comments on commit ce28083

Please sign in to comment.