fixed sentry crashes handling

This commit is contained in:
misha
2026-11-20 14:24:20 +03:00
parent 1e8c1ab2eb
commit 5308c11ca6
48 changed files with 909 additions and 136 deletions

View File

@@ -12,7 +12,11 @@ part 'auth_service.g.dart';
@RestApi()
abstract class AuthService {
factory AuthService(Dio dio, {String? baseUrl}) = _AuthService;
factory AuthService(
Dio dio, {
String? baseUrl,
ParseErrorLogger? errorLogger,
}) = _AuthService;
@POST('/api/login')
Future<TokenModel> getTokenByCredentials({@Body() required CredentialsModel credentials});

View File

@@ -5,7 +5,11 @@ part 'reset_password_service.g.dart';
@RestApi()
abstract class ResetPasswordService {
factory ResetPasswordService(Dio dio, {String baseUrl}) = _ResetPasswordService;
factory ResetPasswordService(
Dio dio, {
String baseUrl,
ParseErrorLogger? errorLogger,
}) = _ResetPasswordService;
@POST('/api/send_password_reset_code')
Future<HttpResponse> sendEmailCodeForPasswordChange({