feat(server): delay subscription after invitation accepted or approved (#11992)

This commit is contained in:
liuyi
2025-04-30 14:27:47 +08:00
committed by GitHub
parent 9a721c65b5
commit 2e1bed061e
49 changed files with 1990 additions and 2694 deletions

View File

@@ -63,8 +63,7 @@ export class InvitationService extends Service {
}
return await this.acceptInviteStore.acceptInvite(
this.inviteInfo$.value.workspace.id,
inviteId,
true
inviteId
);
}

View File

@@ -11,7 +11,6 @@ export class AcceptInviteStore extends Store {
async acceptInvite(
workspaceId: string,
inviteId: string,
sendAcceptMail?: boolean,
signal?: AbortSignal
) {
const data = await this.gqlService.gql({
@@ -20,7 +19,6 @@ export class AcceptInviteStore extends Store {
variables: {
workspaceId,
inviteId,
sendAcceptMail,
},
context: { signal },
});