diff options
Diffstat (limited to 'src/routes/(app)/password')
| -rw-r--r-- | src/routes/(app)/password/+server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/password/+server.ts b/src/routes/(app)/password/+server.ts index 26ed3858..8e41b9c9 100644 --- a/src/routes/(app)/password/+server.ts +++ b/src/routes/(app)/password/+server.ts @@ -2,6 +2,6 @@ import { json } from "@sveltejs/kit"; import { auth, post } from "$lib/utils"; export async function POST({ cookies, request }) { - let result = await post("/password", await request.json(), auth(cookies)); - return json(result); + const result = await post("/password", await request.json(), auth(cookies)); + return json(result); } |
