From 63cbfaf09d82489d3b330ec58a30d9b0087715d3 Mon Sep 17 00:00:00 2001 From: Dondrey Taylor Date: Tue, 3 Dec 2019 15:54:48 -0500 Subject: [PATCH] Updated explorer link --- server.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/server.js b/server.js index d100332..5d240ab 100644 --- a/server.js +++ b/server.js @@ -13,18 +13,6 @@ var Handlerbars = require('handlebars'); var HandlebarsLayouts = require('handlebars-layouts'); HandlebarsLayouts.register(Handlerbars); -// Query helper function -let query = function(query, data, callback) { - pool.getConnection(function(err, connection) { - if (!err) { - connection.query(query, data, function (error, results, fields) { - connection.release(); - if (typeof callback == "function") callback(error, results, fields); - }); - } - }); -}; - // HTTP Server var server = Hapi.server({ port: 8000,