This commit is contained in:
neilpang 2017-03-11 10:06:40 +08:00
parent e0a96be378
commit 04683338a2

View File

@ -209,8 +209,7 @@ _rest() {
return 1 return 1
fi fi
_debug2 response "$response" _debug2 response "$response"
if ! _contains "$response" '"message":"success"'; then
return 1 _contains "$response" '"code":1'
fi
return 0
} }