1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

JSON formatting (#1495)

This commit is contained in:
David Bomba 2017-05-16 20:34:04 +10:00 committed by GitHub
parent ec56df33ce
commit f5e0b8e3b7

View File

@ -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);
}