Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 654f9e3

Browse files
author
Sven Speckmaier
committed
Merge remote-tracking branch 'origin/healthcheck' into healthcheck
# Conflicts: # app/Http/Controllers/Api/HealthController.php
2 parents 897e397 + 3e89bec commit 654f9e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Http/Controllers/Api/HealthController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ public function health() {
1717
*/
1818
private function respond($code, $message) {
1919

20-
$data = [
20+
$data = json_encode([
2121
'status' => $code,
2222
'message' => $message,
23-
];
23+
]);
2424

2525
return $this->respondData($data, $code);
2626
}

0 commit comments

Comments
 (0)