File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 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 {
7676 message : jobHandler . setMessage . bind ( jobHandler ) ,
7777 } ;
7878
79- return jobHandler . setRunning ( jobName , params ) . then ( jobStatus => {
79+ return jobHandler . setRunning ( jobName ) . then ( jobStatus => {
8080 request . jobId = jobStatus . objectId ;
8181 // run the function async
8282 process . nextTick ( ( ) => {
Original file line number Diff line number Diff line change @@ -77,12 +77,11 @@ export function jobStatusHandler(config) {
7777 const objectId = newObjectId ( config . objectIdSize ) ;
7878 const database = config . database ;
7979 const handler = statusHandler ( JOB_STATUS_COLLECTION , database ) ;
80- const setRunning = function ( jobName , params ) {
80+ const setRunning = function ( jobName ) {
8181 const now = new Date ( ) ;
8282 jobStatus = {
8383 objectId,
8484 jobName,
85- params,
8685 status : 'running' ,
8786 source : 'api' ,
8887 createdAt : now ,
You can’t perform that action at this time.
0 commit comments