fix: login

This commit is contained in:
efrilm
2025-08-03 13:15:09 +07:00
parent c8f8d2ec9d
commit 3d1ae25bcf
3 changed files with 17 additions and 3 deletions
@@ -24,7 +24,7 @@ class AuthRemoteDatasource {
);
if (response.statusCode == 200) {
return Right(AuthResponseModel.fromMap(response.data));
return Right(AuthResponseModel.fromMap(response.data['data']));
} else {
return const Left('Failed to login');
}