Skip to content

Commit

Permalink
stylo
Browse files Browse the repository at this point in the history
  • Loading branch information
arfenis committed Sep 13, 2024
1 parent b81f284 commit fbfde31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ public function createIntegrationCompany(mixed $rootValue, array $request): Mode
$region = RegionRepository::getById((int) $request['input']['region']['id'], $company);
$user = auth()->user();

if(! $user->isAppOwner()) {
if (! $user->isAppOwner()) {
CompaniesRepository::userAssociatedToCompany(
$company,
$user
);
);
}

(new ConfigValidation($integration->config, $request['input']))->validate();
Expand Down
2 changes: 1 addition & 1 deletion tests/Connectors/Traits/HasShopifyConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function setupShopifyIntegration(Products $product, Regions $region)
'client_secret' => getenv('TEST_SHOPIFY_API_SECRET'),
'shop_url' => getenv('TEST_SHOPIFY_SHOP_URL'),
];

$integration = Integrations::where('name', 'kanvas')->firstOrFail();

$integrationDto = new IntegrationsCompany(
Expand Down

0 comments on commit fbfde31

Please sign in to comment.