mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
JSON formatting (#1495)
This commit is contained in:
parent
ec56df33ce
commit
f5e0b8e3b7
@ -317,7 +317,7 @@ class InvoiceApiController extends BaseAPIController
|
||||
}
|
||||
|
||||
$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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user