File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
packages/twenty-server/src/engine/core-modules/workspace-invitation Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -88,15 +88,6 @@ export class WorkspaceInvitationResolver {
8888 @AuthUser ( ) user : UserEntity ,
8989 @AuthWorkspace ( ) workspace : WorkspaceEntity ,
9090 ) : Promise < SendInvitationsOutput > {
91- let workspaceLogoWithToken = '' ;
92-
93- if ( workspace . logo ) {
94- workspaceLogoWithToken = this . fileService . signFileUrl ( {
95- url : workspace . logo ,
96- workspaceId : workspace . id ,
97- } ) ;
98- }
99-
10091 const workspaceMemberRepository =
10192 await this . twentyORMGlobalManager . getRepositoryForWorkspace < WorkspaceMemberWorkspaceEntity > (
10293 workspace . id ,
@@ -112,7 +103,7 @@ export class WorkspaceInvitationResolver {
112103
113104 return await this . workspaceInvitationService . sendInvitations (
114105 sendInviteLinkInput . emails ,
115- { ... workspace , logo : workspaceLogoWithToken } ,
106+ workspace ,
116107 workspaceMember ,
117108 ) ;
118109 }
You can’t perform that action at this time.
0 commit comments