Skip to content

Commit 0d74911

Browse files
savchukoleksiiOleksii Savchuk
andauthored
Fix webhooks dispatch into specified queue (gnikyt#682)
Co-authored-by: Oleksii Savchuk <oleksii.savchuk.utd@gmail.com>
1 parent 2540002 commit 0d74911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ShopifyApp/Traits/WebhookController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function handle(string $type, Request $request): ResponseResponse
2929
$jobClass::dispatch(
3030
$request->header('x-shopify-shop-domain'),
3131
$jobData
32-
);
32+
)->onQueue(getShopifyConfig('job_queues')['webhooks']);
3333

3434
return Response::make('', 201);
3535
}

0 commit comments

Comments
 (0)