1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-12-24 11:06:59 +00:00

Fix local name

This commit is contained in:
John Crepezzi 2020-10-06 21:02:16 -04:00
parent f147acb51c
commit 219424550b

View file

@ -66,8 +66,8 @@ PostgresDocumentStore.prototype = {
// A connection wrapper
safeConnect: function (callback) {
this.pool.connect((err, client, done) => {
if (err) {
this.pool.connect((error, client, done) => {
if (error) {
winston.error('error connecting to postgres', {error});
callback(error);
} else {