pull/392/merge
Linus J 2021-10-03 23:02:02 +02:00 committed by GitHub
commit 69f3e72a03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const {Pool} = require('pg');
// A postgres document store
var PostgresDocumentStore = function (options) {
this.expireJS = options.expire;
this.expireJS = parseInt(options.expire);
const connectionString = process.env.DATABASE_URL || options.connectionUrl;
this.pool = new Pool({connectionString});