diff --git a/app/GraphQL/Workflow/Mutations/Integrations/IntegrationsMutation.php b/app/GraphQL/Workflow/Mutations/Integrations/IntegrationsMutation.php index 7ff2ff229..6f9e0e9cf 100644 --- a/app/GraphQL/Workflow/Mutations/Integrations/IntegrationsMutation.php +++ b/app/GraphQL/Workflow/Mutations/Integrations/IntegrationsMutation.php @@ -33,7 +33,7 @@ public function createIntegrationCompany(mixed $rootValue, array $request): Mode $company = CompaniesRepository::getById((int) $request['input']['company_id']); $region = RegionRepository::getById((int) $request['input']['region']['id'], $company); $user = auth()->user(); - + if (! $user->isAppOwner()) { CompaniesRepository::userAssociatedToCompany( $company,