Skip to content

Commit d3c40bb

Browse files
committed
fix: use correct api path in login mutation
1 parent 8435cbe commit d3c40bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎frontend/src/pages/login-page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const LoginPage = () => {
6565
});
6666

6767
const loginMutation = useMutation({
68-
mutationFn: (values: LoginSchema) => axios.post("/api/login", values),
68+
mutationFn: (values: LoginSchema) => axios.post("/api/user/login", values),
6969
mutationKey: ["login"],
7070
onSuccess: (data) => {
7171
if (data.data.totpPending) {

0 commit comments

Comments
 (0)