From 69f15a50865b66c58472aa7d1948ecfe49eb2b78 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 11 Nov 2013 16:55:51 +0100 Subject: [PATCH] Indent fixes --- lib/cartodb/server_options.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cartodb/server_options.js b/lib/cartodb/server_options.js index e4b1b630..f4156b61 100644 --- a/lib/cartodb/server_options.js +++ b/lib/cartodb/server_options.js @@ -379,7 +379,7 @@ module.exports = function(){ cartoData.authorize(req, this); }, function gatekeep(err, data){ - if (req.profiler) req.profiler.done('cartoData.authorize'); + if (req.profiler) req.profiler.done('cartoData.authorize'); if(err) throw err; if(data === "0") throw new Error("Sorry, you are unauthorized (permission denied)"); return data; @@ -390,21 +390,21 @@ module.exports = function(){ cartoData.getDatabase(req, this); }, function getGeometryType(err, data){ - if (req.profiler) req.profiler.done('cartoData.getDatabase'); + if (req.profiler) req.profiler.done('cartoData.getDatabase'); if (err) throw err; _.extend(req.params, {dbname:data}); cartoData.getGeometryType(req, this); }, function finishSetup(err, data){ - if (req.profiler) req.profiler.done('cartoData.getGeometryType'); + if (req.profiler) req.profiler.done('cartoData.getGeometryType'); if ( err ) { callback(err, req); return; } if (!_.isNull(data)) _.extend(req.params, {geom_type: data}); that.addCacheChannel(req, function(err) { - if (req.profiler) req.profiler.done('addCacheChannel'); + if (req.profiler) req.profiler.done('addCacheChannel'); callback(err, req); }); }