1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-09 14:46:53 +02:00

feat(rest-api): update rest api errors #435

This commit is contained in:
Awilum
2020-07-30 10:06:33 +03:00
parent 4df4912477
commit 58bd4d3652

View File

@@ -77,8 +77,7 @@ $api_errors = [
'http_status_code' => 404,
'message' => 'Image not found',
],
'0501' => [
'0500' => [
'http_status_code' => 400,
'message' => 'Wrong query params or not defined',
],
@@ -90,8 +89,7 @@ $api_errors = [
'http_status_code' => 404,
'message' => 'File not found',
],
'0601' => [
'0600' => [
'http_status_code' => 400,
'message' => 'Wrong query params or not defined',
],