fix: database import
This commit is contained in:
parent
aab46b28c8
commit
222d99e307
1 changed files with 1 additions and 0 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue