Fix typo "Unkown" => "Unknown"

This commit is contained in:
Adam Schwartz 2014-05-15 23:26:17 -04:00
parent ba3653d406
commit 49f0e5dcee
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 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);