This commit is contained in:
Riccardo
2021-01-07 11:01:36 +01:00
parent 12b19e889f
commit 28014b2850
8 changed files with 73 additions and 84 deletions

View File

@@ -1,4 +1,4 @@
const jwt = require('jsonwebtoken');
import jwt from 'jsonwebtoken';
const APP_SECRET = 'GraphQL-is-aw3some';
function getTokenPayload(token) {