File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export class FunctionsRouter extends PromiseRouter {
76
76
message : jobHandler . setMessage . bind ( jobHandler ) ,
77
77
} ;
78
78
79
- return jobHandler . setRunning ( jobName , params ) . then ( jobStatus => {
79
+ return jobHandler . setRunning ( jobName ) . then ( jobStatus => {
80
80
request . jobId = jobStatus . objectId ;
81
81
// run the function async
82
82
process . nextTick ( ( ) => {
Original file line number Diff line number Diff line change @@ -77,12 +77,11 @@ export function jobStatusHandler(config) {
77
77
const objectId = newObjectId ( config . objectIdSize ) ;
78
78
const database = config . database ;
79
79
const handler = statusHandler ( JOB_STATUS_COLLECTION , database ) ;
80
- const setRunning = function ( jobName , params ) {
80
+ const setRunning = function ( jobName ) {
81
81
const now = new Date ( ) ;
82
82
jobStatus = {
83
83
objectId,
84
84
jobName,
85
- params,
86
85
status : 'running' ,
87
86
source : 'api' ,
88
87
createdAt : now ,
You can’t perform that action at this time.
0 commit comments