Skip to content

Commit 9321750

Browse files
committed
force global attribute to be boolean
1 parent a4af451 commit 9321750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/utils/taskmanager.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ taskmanager.createTask = function(options, callback) {
283283
update.request = JSON.stringify(options.request || {});
284284
update.app_id = options.app_id || "";
285285
update.creator = options.creator;
286-
update.global = options.global;
286+
update.global = options.global || false;
287287
update.r_hour = options.r_hour || 0;
288288
update.autoRefresh = options.autoRefresh || false;
289289
update.report_name = options.report_name || "";

0 commit comments

Comments
 (0)