Changed import path.
This commit is contained in:
1 parent
a62e84f516
commit
8525188e42
365 files changed
+1277
-1267
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
import jwt from 'jsonwebtoken';
|
||||
import { decrypt, encrypt } from 'lib/crypto';
|
||||
import { decrypt, encrypt } from '@/lib/crypto';
|
||||
|
||||
export function createToken(payload: any, secret: any, options?: any) {
|
||||
return jwt.sign(payload, secret, options);
|
||||
|
||||
Reference in new issue
Block a user