mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update AP helper
This commit is contained in:
parent
2e56b353c6
commit
445ccb82ee
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue