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

@@ -7,7 +7,11 @@ part 'plan_service.g.dart';
@RestApi()
abstract class PlanService {
factory PlanService(Dio dio, {String baseUrl}) = _PlanService;
factory PlanService(
Dio dio, {
String baseUrl,
ParseErrorLogger? errorLogger,
}) = _PlanService;
@GET('/api/plans/show/{slug}')
Future<PlanModel> getPlan(@Path('slug') String slug);

View File

@@ -6,7 +6,11 @@ part 'plans_service.g.dart';
@RestApi()
abstract class PlansService {
factory PlansService(Dio dio, {String baseUrl}) = _PlansService;
factory PlansService(
Dio dio, {
String baseUrl,
ParseErrorLogger? errorLogger,
}) = _PlansService;
@GET('/api/plans/get_by_author/{author}')
Future<PlanPaginationModel> getPlansBySlug({