Skip to content

Commit c98e2ec

Browse files
committed
fix: add name to main function
1 parent 21e41c4 commit c98e2ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const escapePgIdentifier = (value) => value.replaceAll('"', '""');
7171
* @param {ExpressSession} session
7272
* @returns {ExpressSessionStore}
7373
*/
74-
module.exports = function (session) {
74+
module.exports = function connectPgSimple (session) {
7575
/** @type {ExpressSessionStore} */
7676
const Store = session.Store ||
7777
// @ts-ignore
@@ -133,6 +133,7 @@ module.exports = function (session) {
133133
this.#pgPromise = options.pgPromise;
134134
this.#ownsPg = false;
135135
} else {
136+
// eslint-disable-next-line n/no-process-env
136137
const conString = options.conString || process.env['DATABASE_URL'];
137138
let conObject = options.conObject;
138139

0 commit comments

Comments
 (0)