mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-10-30 21:55:43 +00:00 
			
		
		
		
	fix: use correct api path in login mutation
This commit is contained in:
		| @@ -65,7 +65,7 @@ export const LoginPage = () => { | |||||||
|   }); |   }); | ||||||
|  |  | ||||||
|   const loginMutation = useMutation({ |   const loginMutation = useMutation({ | ||||||
|     mutationFn: (values: LoginSchema) => axios.post("/api/login", values), |     mutationFn: (values: LoginSchema) => axios.post("/api/user/login", values), | ||||||
|     mutationKey: ["login"], |     mutationKey: ["login"], | ||||||
|     onSuccess: (data) => { |     onSuccess: (data) => { | ||||||
|       if (data.data.totpPending) { |       if (data.data.totpPending) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Stavros
					Stavros