From 904cb696a00996c3960c581119d6704dacf711e3 Mon Sep 17 00:00:00 2001 From: Harish Krishna Date: Fri, 17 Apr 2015 14:33:36 -0400 Subject: [PATCH] using coarse sanitizer for the coarse endpoint --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 49d07b94..b0f65801 100644 --- a/app.js +++ b/app.js @@ -38,7 +38,7 @@ app.get( '/suggest/nearby', sanitisers.suggest.middleware, controllers.suggest(undefined, undefined, require('./helper/queryMixer').suggest_nearby) ); app.get( '/suggest/coarse', - sanitisers.suggest.middleware, + sanitisers.coarse.middleware, controllers.suggest(undefined, undefined, require('./helper/queryMixer').coarse) ); // search API