mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 07:54:30 -04:00
JSON formatting (#1495)
This commit is contained in:
parent
ec56df33ce
commit
f5e0b8e3b7
@ -317,7 +317,7 @@ class InvoiceApiController extends BaseAPIController
|
|||||||
}
|
}
|
||||||
|
|
||||||
$headers = Utils::getApiHeaders();
|
$headers = Utils::getApiHeaders();
|
||||||
$response = json_encode(RESULT_SUCCESS, JSON_PRETTY_PRINT);
|
$response = json_encode(['message' => RESULT_SUCCESS], JSON_PRETTY_PRINT);
|
||||||
|
|
||||||
return Response::make($response, 200, $headers);
|
return Response::make($response, 200, $headers);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user