Merge pull request #261 from adamschwartz/master
Fix typo "Unkown" => "Unknown"
This commit is contained in:
commit
691c152387
|
@ -66,7 +66,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);
|
||||
|
|
Loading…
Reference in New Issue