update API
This commit is contained in:
parent
532d1b7e9d
commit
f40403d58e
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ Future<dynamic> resetPost(data) async {
|
||||||
options: Options(
|
options: Options(
|
||||||
contentType: Headers.formUrlEncodedContentType,
|
contentType: Headers.formUrlEncodedContentType,
|
||||||
validateStatus: (status) {
|
validateStatus: (status) {
|
||||||
return status! < 400;
|
return status! < 500;
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue