fix: database import

This commit is contained in:
Sérgio Salgado 2021-05-06 21:52:17 +01:00 committed by Josh Harvey
parent aab46b28c8
commit 222d99e307

View file

@ -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')