diff --git a/lib/models/data-model.js b/lib/models/data-model.js index c3966036..4c0aeafd 100644 --- a/lib/models/data-model.js +++ b/lib/models/data-model.js @@ -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);