feat: Allow sharing to and from team projects (no-changelog) (#10144)
This commit is contained in:
@@ -151,4 +151,13 @@ export class SharedCredentialsRepository extends Repository<SharedCredentials> {
|
||||
})
|
||||
)?.project;
|
||||
}
|
||||
|
||||
async getAllRelationsForCredentials(credentialIds: string[]) {
|
||||
return await this.find({
|
||||
where: {
|
||||
credentialsId: In(credentialIds),
|
||||
},
|
||||
relations: ['project'],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user