Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 824344a

Browse files
authored
Fix call to deprecated JsonResponse::create() (#947)
1 parent 41d0195 commit 824344a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpApi/Controllers/Controller.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function checkContentLength(ConnectionInterface $connection)
8080
->ensureValidAppId($laravelRequest->appId)
8181
->ensureValidSignature($laravelRequest);
8282

83-
$response = JsonResponse::create($this($laravelRequest));
83+
$response = new JsonResponse($this($laravelRequest));
8484

8585
$content = $response->content();
8686

0 commit comments

Comments
 (0)