fix: some problems are fixed
This commit is contained in:
@@ -32,6 +32,7 @@ class AuthRepositoryImpl extends AuthRepository {
|
||||
return const DataError('پاسخ نامعتبر از سرور');
|
||||
}
|
||||
await local.saveToken(token);
|
||||
await local.saveMobile(params.mobile); // برای payloadِ خریدِ فروشگاهی
|
||||
return DataSuccess(UserModel.fromJson(
|
||||
Map<String, dynamic>.from(res.data['user'] as Map)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user