We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef8483a commit dbe06e7Copy full SHA for dbe06e7
src/Integrations/ShopifyConnector.php
@@ -55,6 +55,6 @@ private function hasGraphQLErrors(array $responseJson, bool $isThrottled): bool
55
/** @var array $bulkOperationUserErrors */
56
$bulkOperationUserErrors = data_get($responseJson, 'data.bulkOperationRunQuery.userErrors', []);
57
58
- return ($hasErrors && !$isThrottled) || count($bulkOperationUserErrors) > 0;
+ return ($hasErrors && !$isThrottled) || $bulkOperationUserErrors !== [];
59
}
60
0 commit comments