File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010use Omikron \FactFinder \Shopware6 \Config \Communication as CommunicationConfig ;
1111use Omikron \FactFinder \Shopware6 \Upload \UploadService ;
1212use Psr \Log \LoggerInterface ;
13- use Shopware \Core \Framework \Routing \Annotation \RouteScope ;
1413use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
1514use Symfony \Component \HttpFoundation \JsonResponse ;
1615use Symfony \Component \Routing \Annotation \Route ;
@@ -33,12 +32,6 @@ public function __construct(
3332 */
3433 public function testApiConnection (): JsonResponse
3534 {
36- $ client = $ this ->clientBuilder
37- ->withCredentials (new Credentials (...$ this ->config ->getCredentials ()))
38- ->withServerUrl ($ this ->config ->getServerUrl ())
39- ->withVersion ($ this ->config ->getVersion ())
40- ->build ();
41-
4235 try {
4336 $ client = $ this ->clientBuilder
4437 ->withCredentials (new Credentials (...$ this ->config ->getCredentials ()))
Original file line number Diff line number Diff line change 1010use Omikron \FactFinder \Shopware6 \MessageQueue \FeedExportHandler ;
1111use Omikron \FactFinder \Shopware6 \MessageQueue \RefreshExportCacheHandler ;
1212use Psr \Log \LoggerInterface ;
13- use Shopware \Core \Framework \Routing \Annotation \RouteScope ;
1413use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
1514use Symfony \Component \HttpFoundation \JsonResponse ;
1615use Symfony \Component \HttpFoundation \Request ;
Original file line number Diff line number Diff line change 1010use Shopware \Core \Framework \DataAbstractionLayer \EntityCollection ;
1111use Shopware \Core \Framework \DataAbstractionLayer \EntityRepository ;
1212use Shopware \Core \Framework \DataAbstractionLayer \Search \Criteria ;
13- use Shopware \Core \Framework \Routing \Annotation \RouteScope ;
1413use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
1514use Symfony \Component \HttpFoundation \JsonResponse ;
1615use Symfony \Component \Routing \Annotation \Route ;
You can’t perform that action at this time.
0 commit comments