changed api_response signature

This commit is contained in:
abdulmohsen
2024-03-06 00:06:54 +03:00
parent 6ab95a7541
commit ecae8893b5
10 changed files with 22 additions and 20 deletions

View File

@@ -48,7 +48,7 @@ final class Index
$response['backends'][] = $backend;
}
return api_response($response, HTTP_STATUS::HTTP_OK, []);
return api_response(HTTP_STATUS::HTTP_OK, $response, []);
}
public static function getBackends(string|null $name = null, bool $blacklist = false): array