update error message
This commit is contained in:
@ -125,7 +125,7 @@ class ExternalService {
|
||||
|
||||
_res = json.decode(utf8.decode(response.bodyBytes));
|
||||
|
||||
print("-----@@@@@ $_res -----");
|
||||
print("-----@@@@@ checkin $_res -----");
|
||||
|
||||
if(response.statusCode == 201){
|
||||
//print('---- toekn is ${token} -----');
|
||||
@ -152,6 +152,9 @@ class ExternalService {
|
||||
if (response2.statusCode == 200) {
|
||||
_res = json.decode(utf8.decode(response2.bodyBytes));
|
||||
print('----checkin res _res : $_res ----');
|
||||
if(_res["status"] == "ERROR"){
|
||||
Get.snackbar("エラーがおきました", _res["detail"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
||||
@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 1.0.20+20
|
||||
version: 1.0.21+21
|
||||
|
||||
environment:
|
||||
sdk: '>=3.1.0 <4.0.0'
|
||||
|
||||
Reference in New Issue
Block a user