From 49f0e5dcee0ee93cd20edf30eb7bd67abbde93fc Mon Sep 17 00:00:00 2001 From: Adam Schwartz Date: Thu, 15 May 2014 23:26:17 -0400 Subject: [PATCH] Fix typo "Unkown" => "Unknown" --- lib/dao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dao.js b/lib/dao.js index bc20d505..aad2cc6c 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -359,7 +359,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);