require debug at the top of file
This commit is contained in:
parent
8867cdbc02
commit
26df09b13f
@ -1,5 +1,6 @@
|
||||
var PSQL = require('cartodb-psql');
|
||||
var _ = require('underscore');
|
||||
const debug = require('debug')('cachechan');
|
||||
|
||||
function PgConnection(metadataBackend) {
|
||||
this.metadataBackend = metadataBackend;
|
||||
@ -141,7 +142,7 @@ PgConnection.prototype.setDBConn = function(dbowner, params, callback) {
|
||||
*/
|
||||
|
||||
PgConnection.prototype.getConnection = function(username, callback) {
|
||||
require('debug')('cachechan')("getConn1");
|
||||
debug("getConn1");
|
||||
|
||||
this.getDatabaseParams(username, (err, databaseParams) => {
|
||||
if (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user