Merge pull request #261 from adamschwartz/master

Fix typo "Unkown" => "Unknown"
This commit is contained in:
Raymond Feng 2014-05-15 20:33:30 -07:00
commit 691c152387
1 changed files with 1 additions and 1 deletions

View File

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