Update AP helper

pull/1153/head
Daniel Supernault 6 years ago
parent 2e56b353c6
commit 445ccb82ee
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -191,7 +191,6 @@ class Helpers {
$res = Zttp::withHeaders(self::zttpUserAgent())->get($url);
$res = json_decode($res->body(), true, 8);
if(json_last_error() == JSON_ERROR_NONE) {
abort_if(!self::validateObject($res), 422);
return $res;
} else {
return false;

Loading…
Cancel
Save