refactor(core): Rename push sessionId to pushRef (#8905)
This commit is contained in:
committed by
GitHub
parent
eaaefd76da
commit
072c3db97d
@@ -99,7 +99,7 @@ export class WorkflowExecutionService {
|
||||
destinationNode,
|
||||
}: WorkflowRequest.ManualRunPayload,
|
||||
user: User,
|
||||
sessionId?: string,
|
||||
pushRef?: string,
|
||||
) {
|
||||
const pinnedTrigger = this.selectPinnedActivatorStarter(
|
||||
workflowData,
|
||||
@@ -122,7 +122,7 @@ export class WorkflowExecutionService {
|
||||
workflowData,
|
||||
additionalData,
|
||||
runData,
|
||||
sessionId,
|
||||
pushRef,
|
||||
destinationNode,
|
||||
);
|
||||
|
||||
@@ -138,7 +138,7 @@ export class WorkflowExecutionService {
|
||||
executionMode: 'manual',
|
||||
runData,
|
||||
pinData,
|
||||
sessionId,
|
||||
pushRef,
|
||||
startNodes,
|
||||
workflowData,
|
||||
userId: user.id,
|
||||
|
||||
@@ -3,7 +3,6 @@ import { v4 as uuid } from 'uuid';
|
||||
import axios from 'axios';
|
||||
|
||||
import * as Db from '@/Db';
|
||||
import * as GenericHelpers from '@/GenericHelpers';
|
||||
import * as ResponseHelper from '@/ResponseHelper';
|
||||
import * as WorkflowHelpers from '@/WorkflowHelpers';
|
||||
import type { IWorkflowResponse } from '@/Interfaces';
|
||||
@@ -331,7 +330,7 @@ export class WorkflowsController {
|
||||
return await this.workflowExecutionService.executeManually(
|
||||
req.body,
|
||||
req.user,
|
||||
GenericHelpers.getSessionId(req),
|
||||
req.headers['push-ref'] as string,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user