From f40403d58eebd984cc3094c5f274b6b36a4375e9 Mon Sep 17 00:00:00 2001 From: D Shrat Date: Sat, 21 May 2022 17:49:56 +0700 Subject: [PATCH] update API --- lib/api/api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }, ), );