dayjs / restart with recurrent

This commit is contained in:
les
2020-11-17 00:34:56 +01:00
parent f088c20811
commit a1f7998398
9 changed files with 50 additions and 77 deletions

View File

@@ -8,7 +8,7 @@ const OAuthCode = require('../models/oauth_code')
const User = require('../models/user')
const debug = require('debug')('oauth')
const moment = require('moment')
const moment = require('dayjs')
async function randomString (len = 16) {
const bytes = await randomBytes(len * 8)