Merge pull request #1153 from pixelfed/frontend-ui-refactor

Update AP helper
pull/1155/head
daniel 2019-04-18 00:47:48 -06:00 zatwierdzone przez GitHub
commit 3d788720b2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -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;