diff --git a/lib/api/api.dart b/lib/api/api.dart index 57700a8..137a6f8 100644 --- a/lib/api/api.dart +++ b/lib/api/api.dart @@ -49,7 +49,7 @@ Future resetPost(data) async { options: Options( contentType: Headers.formUrlEncodedContentType, validateStatus: (status) { - return status! < 400; + return status! < 500; }, ), );