(provider: {
userId: string | null
organizationId: string | null
})
| 74 | } |
| 75 | |
| 76 | const isOwnedByCaller = (provider: { |
| 77 | userId: string | null |
| 78 | organizationId: string | null |
| 79 | }): boolean => { |
| 80 | if (provider.userId === session.user.id && !provider.organizationId) return true |
| 81 | return orgId ? provider.organizationId === orgId : false |
| 82 | } |
| 83 | |
| 84 | const findDomainConflict = async () => |
| 85 | ( |
no outgoing calls
no test coverage detected