From 817f3d75f55cbbce57802902b0d5b265395f0661 Mon Sep 17 00:00:00 2001 From: asif Date: Thu, 11 Sep 2025 00:21:09 +0530 Subject: [PATCH] fix api url for setting password --- lib/api/services/auth_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/services/auth_service.dart b/lib/api/services/auth_service.dart index 2413dba..1486645 100644 --- a/lib/api/services/auth_service.dart +++ b/lib/api/services/auth_service.dart @@ -132,7 +132,7 @@ class AuthService { Future changePassword(String newPassword, String token) async { final response = await _dio.post( - '/api/auth/lpassword', + '/api/auth/login_password', data: {'login_password': newPassword}, options: Options(headers: {'Authorization': 'Bearer $token'}), );