From 8656fcd8d17e4b0cff1ff6dafe69a9412b9d7a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Fri, 2 Mar 2018 14:04:29 +0100 Subject: [PATCH] Use 'const' --- lib/cartodb/middleware/context/layergroup-token.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/cartodb/middleware/context/layergroup-token.js b/lib/cartodb/middleware/context/layergroup-token.js index f611b068..c4aac23f 100644 --- a/lib/cartodb/middleware/context/layergroup-token.js +++ b/lib/cartodb/middleware/context/layergroup-token.js @@ -1,5 +1,4 @@ -var LayergroupToken = require('../../models/layergroup-token'); - +const LayergroupToken = require('../../models/layergroup-token'); const authErrorMessageTemplate = function (signer, user) { return `Cannot use map signature of user "${signer}" on db of user "${user}"`; };