aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/password/+server.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/password/+server.js')
-rw-r--r--src/routes/(app)/password/+server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/password/+server.js b/src/routes/(app)/password/+server.js
index 9f2ab6b8..b4a81740 100644
--- a/src/routes/(app)/password/+server.js
+++ b/src/routes/(app)/password/+server.js
@@ -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('/checkPassword', await request.json(), auth(cookies));
+ let result = await post('/password', await request.json(), auth(cookies));
return json(result);
}