From 0c005712a1d6bd27d9f7f605e47d2fd19c811faa Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Wed, 24 Feb 2016 18:36:14 +0300 Subject: [PATCH] let json -> const json --- src/routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/index.js b/src/routes/index.js index bb017a5c..74bbdccf 100644 --- a/src/routes/index.js +++ b/src/routes/index.js @@ -54,7 +54,7 @@ export function index(filename) { } } -export let json = fn => accepts({ +export const json = fn => accepts({ 'text/html': index(), 'text/plain': index(), 'application/json': fn