Add files via upload
This commit is contained in:
parent
d5e334d882
commit
611bd57ba6
1 changed files with 70 additions and 72 deletions
|
|
@ -266,16 +266,14 @@ export const user = new Elysia()
|
|||
} catch (e) {
|
||||
try {
|
||||
db.exec("ROLLBACK");
|
||||
} catch {
|
||||
// ignore rollback errors
|
||||
} catch (rollbackErr) {
|
||||
console.warn("[user/register] ROLLBACK failed:", rollbackErr);
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
},
|
||||
{ body: "signIn" },
|
||||
)
|
||||
|
||||
|
||||
.get(
|
||||
"/login",
|
||||
async ({ jwt, redirect, cookie: { auth } }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue