feat: fix connections

This commit is contained in:
Nevo David 2025-08-10 11:08:58 +07:00
parent 9aea717ed2
commit 07177c7929
1 changed files with 5 additions and 1 deletions

View File

@ -79,7 +79,11 @@ export class IntegrationRepository {
},
});
return findIt.some((f) => f.organizationId === org) || findIt.length === 0;
if (findIt.some((f) => f.organizationId === org)) {
return false;
}
return findIt.length > 0;
}
updateProviderSettings(org: string, id: string, settings: string) {