We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e41c4 commit c98e2ecCopy full SHA for c98e2ec
index.js
@@ -71,7 +71,7 @@ const escapePgIdentifier = (value) => value.replaceAll('"', '""');
71
* @param {ExpressSession} session
72
* @returns {ExpressSessionStore}
73
*/
74
-module.exports = function (session) {
+module.exports = function connectPgSimple (session) {
75
/** @type {ExpressSessionStore} */
76
const Store = session.Store ||
77
// @ts-ignore
@@ -133,6 +133,7 @@ module.exports = function (session) {
133
this.#pgPromise = options.pgPromise;
134
this.#ownsPg = false;
135
} else {
136
+ // eslint-disable-next-line n/no-process-env
137
const conString = options.conString || process.env['DATABASE_URL'];
138
let conObject = options.conObject;
139
0 commit comments