chore: Select organization fields to prevent logo import (#14255)

* chore: Select organization fields to prevent logo import

* teams query actually doesn't use org, keep for backwards compat
This commit is contained in:
Alex van Andel authored and GitHub committed 2024-03-28 12:54:45 -03:00
1 parent 33d0fee43e
commit 29bca76e91
2 files changed
+11 -3

No files matched your search

+9 -1
View File
@@ -349,7 +349,15 @@ export class ProfileRepository {
},
movedFromUser: true,
organization: {
include: {
select: {
calVideoLogo: true,
id: true,
logoUrl: true,
name: true,
slug: true,
metadata: true,
bannerUrl: true,
isPrivate: true,
organizationSettings: {
select: {
lockEventTypeCreationForUsers: true,