We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b5e10d commit 5d29f37Copy full SHA for 5d29f37
src/utils.ts
@@ -1,7 +1,6 @@
1
import * as scuid from 'scuid'
2
import * as jwt from 'jsonwebtoken'
3
import * as faker from 'faker/locale/en'
4
-import { create } from 'domain'
5
6
export const generateAuthToken = (payload, secret, expiresIn) =>
7
jwt.sign(payload, secret, {
0 commit comments