From 7e617f9241f0a4e36a6305d0f07b59675dbfc7de Mon Sep 17 00:00:00 2001 From: Linus J <30862662+linus-jansson@users.noreply.github.com> Date: Wed, 24 Nov 2021 10:40:11 +0100 Subject: [PATCH] Update lib/document_stores/postgres.js Co-authored-by: Denis Berezin --- lib/document_stores/postgres.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/document_stores/postgres.js b/lib/document_stores/postgres.js index e5e5fc6..f723dbb 100644 --- a/lib/document_stores/postgres.js +++ b/lib/document_stores/postgres.js @@ -7,7 +7,7 @@ const {Pool} = require('pg'); // A postgres document store var PostgresDocumentStore = function (options) { - this.expireJS = parseInt(options.expire); + this.expireJS = parseInt(options.expire, 10); const connectionString = process.env.DATABASE_URL || options.connectionUrl; this.pool = new Pool({connectionString});