Skip to content

Commit

Permalink
Fix ECS
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Kroll committed Jan 30, 2023
1 parent cba23a1 commit bc90cca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Controller/Action/Admin/RetrievePackageInfoAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public function __invoke(Request $request): Response
try {
file_get_contents(\sprintf(
"https://intranet.bitbag.shop/retrieve-package-info?packageName='%s'&url='%s'",
'bitbag/cms-plugin', \sprintf("%s://%s", $request->getScheme(), $request->getHttpHost())
'bitbag/cms-plugin',
\sprintf('%s://%s', $request->getScheme(), $request->getHttpHost())
));
} catch (\Exception $exception) {
return new Response('', Response::HTTP_BAD_REQUEST);
Expand Down

0 comments on commit bc90cca

Please sign in to comment.