Skip to content

Commit 624b170

Browse files
committed
👌 Make params of Cloud.enqueue optional
1 parent d18a489 commit 624b170

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/cloud.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Cloud.enqueue = function(name, params, options) {
106106
path: '/engine/cloud-queue/tasks',
107107
data: _.extend({
108108
function: name,
109-
params: params
109+
params: params || {}
110110
}, options),
111111
authOptions: {useMasterKey: true}
112112
});

0 commit comments

Comments
 (0)