JSON formatting (#1495)
This commit is contained in:
parent
ec56df33ce
commit
f5e0b8e3b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue