Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

hardcode response format

  • Loading branch information...
commit 1d6d1ba9dfe59d29de752244fdc9b34763ed3a1e 1 parent 19b772d
@cantlin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sleepy.php
View
2  sleepy.php
@@ -284,7 +284,7 @@ function render($payload, $status_code = 200) {
$response = \Sleepy\Response::getInstance();
$response->status = $status_code;
$response->body = empty($body) ? \Sleepy\Response::$status_messages[$status_code] : $body;
- $response->format = $format;
+ $response->format = 'json';
return true;
}
Please sign in to comment.
Something went wrong with that request. Please try again.