Создание карточки в коллекции + экран поиска коллекции
This commit is contained in:
@@ -43,6 +43,14 @@ InterceptorsWrapper get _error {
|
||||
// String? token = await getIt<AuthService>().refresh();
|
||||
}
|
||||
|
||||
if (error.response != null) {
|
||||
try {
|
||||
showErrorToast(error.response?.data['message']);
|
||||
} catch (_) {
|
||||
showErrorToast(error.response?.data);
|
||||
}
|
||||
}
|
||||
|
||||
handler.next(error);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user