From 7c001192922721c281b8e3f0e0e7d3d5cf66c458 Mon Sep 17 00:00:00 2001 From: Adam Schwartz Date: Thu, 15 May 2014 23:32:12 -0400 Subject: [PATCH] Fix typo "Unkown" => "Unknown" --- lib/models/data-model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);