Merge pull request #114 from adamschwartz/master

Fix typo "Unkown" => "Unknown"
This commit is contained in:
Raymond Feng 2014-05-16 08:46:06 -07:00
commit aab66d3131
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ function convertNullToNotFoundError(ctx, cb) {
var modelName = ctx.method.sharedClass.name;
var id = ctx.getArgByName('id');
var msg = 'Unkown "' + modelName + '" id "' + id + '".';
var msg = 'Unknown "' + modelName + '" id "' + id + '".';
var error = new Error(msg);
error.statusCode = error.status = 404;
cb(error);