From 3231833e6745a06ae053bc70d28a40949dbd4642 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 31 Jan 2014 06:14:16 -0500 Subject: [PATCH] refactor(commander) changeUIDToName: callback -> Util.exec, json --- lib/server/commander.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/server/commander.js b/lib/server/commander.js index b3e5b317..464f89c8 100644 --- a/lib/server/commander.js +++ b/lib/server/commander.js @@ -154,7 +154,7 @@ json.files = changeOrder(files); - changeUIDToName(json, function() { + changeUIDToName(json, function(json) { Util.exec(p.callback, null, json); }); } @@ -179,7 +179,7 @@ current.owner = owner; } - callback(); + Util.exec(callback, json); }); }); }