Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 605a7fa

Browse files
Fix call to deprecated JsonResponse::create() (#942)
1 parent e009061 commit 605a7fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/API/Controller.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ protected function handleRequest(ConnectionInterface $connection)
215215
*/
216216
protected function sendAndClose(ConnectionInterface $connection, $response)
217217
{
218-
tap($connection)->send(JsonResponse::create($response))->close();
218+
tap($connection)->send(newJsonResponse($response))->close();
219219
}
220220

221221
/**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /