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:
1 parent
33d0fee43e
commit
29bca76e91
2 files changed
+11
-3
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user