diff --git a/server/src/core/workspace/services/workspace.service.ts b/server/src/core/workspace/services/workspace.service.ts index a9ea69f6a3..19ce7105b7 100644 --- a/server/src/core/workspace/services/workspace.service.ts +++ b/server/src/core/workspace/services/workspace.service.ts @@ -111,6 +111,7 @@ export class WorkspaceService { comment, activityTarget, activity, + viewField, } = this.prismaService.client; const activitys = await activity.findMany({ @@ -150,6 +151,9 @@ export class WorkspaceService { activity.deleteMany({ where, }), + viewField.deleteMany({ + where, + }), refreshToken.deleteMany({ where: { userId }, }),