@ -22,7 +22,7 @@ export class WorkflowDeleteManyPostQueryHook
|
||||
_objectName: string,
|
||||
payload: WorkflowWorkspaceEntity[],
|
||||
): Promise<void> {
|
||||
this.workflowCommonWorkspaceService.handleWorkflowSubEntities({
|
||||
await this.workflowCommonWorkspaceService.handleWorkflowSubEntities({
|
||||
workflowIds: payload.map((workflow) => workflow.id),
|
||||
workspaceId: authContext.workspace.id,
|
||||
operation: 'delete',
|
||||
|
||||
@ -22,7 +22,7 @@ export class WorkflowDeleteOnePostQueryHook
|
||||
_objectName: string,
|
||||
payload: WorkflowWorkspaceEntity[],
|
||||
): Promise<void> {
|
||||
this.workflowCommonWorkspaceService.handleWorkflowSubEntities({
|
||||
await this.workflowCommonWorkspaceService.handleWorkflowSubEntities({
|
||||
workflowIds: payload.map((workflow) => workflow.id),
|
||||
workspaceId: authContext.workspace.id,
|
||||
operation: 'delete',
|
||||
|
||||
@ -22,7 +22,7 @@ export class WorkflowRestoreManyPostQueryHook
|
||||
_objectName: string,
|
||||
payload: WorkflowWorkspaceEntity[],
|
||||
): Promise<void> {
|
||||
this.workflowCommonWorkspaceService.handleWorkflowSubEntities({
|
||||
await this.workflowCommonWorkspaceService.handleWorkflowSubEntities({
|
||||
workflowIds: payload.map((workflow) => workflow.id),
|
||||
workspaceId: authContext.workspace.id,
|
||||
operation: 'restore',
|
||||
|
||||
@ -22,7 +22,7 @@ export class WorkflowRestoreOnePostQueryHook
|
||||
_objectName: string,
|
||||
payload: WorkflowWorkspaceEntity[],
|
||||
): Promise<void> {
|
||||
this.workflowCommonWorkspaceService.handleWorkflowSubEntities({
|
||||
await this.workflowCommonWorkspaceService.handleWorkflowSubEntities({
|
||||
workflowIds: payload.map((workflow) => workflow.id),
|
||||
workspaceId: authContext.workspace.id,
|
||||
operation: 'restore',
|
||||
|
||||
Reference in New Issue
Block a user