From 222d99e30711bc665ac3d6bcb45d629f0414f5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Salgado?= Date: Thu, 6 May 2021 21:52:17 +0100 Subject: [PATCH] fix: database import --- lib/auth-tokens.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/auth-tokens.js b/lib/auth-tokens.js index 830b679b..d42fa1b1 100644 --- a/lib/auth-tokens.js +++ b/lib/auth-tokens.js @@ -1,6 +1,7 @@ const crypto = require('crypto') const constants = require('./constants') +const db = require('./db') function createAuthToken (userID, type) { const token = crypto.randomBytes(32).toString('hex')