diff --git a/build/actions/app.js b/build/actions/app.js index 1d7adbc5..c25f9b60 100644 --- a/build/actions/app.js +++ b/build/actions/app.js @@ -51,8 +51,8 @@ }, function(type, callback) { options.type = type; return resin.models.application.create(params.name, options.type).nodeify(callback); - }, function(applicationId, callback) { - console.info("Application created: " + params.name + " (" + options.type + ", id " + applicationId + ")"); + }, function(application, callback) { + console.info("Application created: " + params.name + " (" + options.type + ", id " + application.id + ")"); return callback(); } ], done); diff --git a/lib/actions/app.coffee b/lib/actions/app.coffee index efc8c9ce..29d08f0a 100644 --- a/lib/actions/app.coffee +++ b/lib/actions/app.coffee @@ -56,8 +56,8 @@ exports.create = options.type = type resin.models.application.create(params.name, options.type).nodeify(callback) - (applicationId, callback) -> - console.info("Application created: #{params.name} (#{options.type}, id #{applicationId})") + (application, callback) -> + console.info("Application created: #{params.name} (#{options.type}, id #{application.id})") return callback() ], done