Fix parseJWT import

This commit is contained in:
Francesco Manzali
2021-10-19 09:26:35 +02:00
parent ba3286fe5f
commit 617b60adca

View File

@@ -1,8 +1,5 @@
import { import { AuthenticationError, ForbiddenError } from '@redwoodjs/graphql-server'
AuthenticationError, import { parseJWT } from '@redwoodjs/api'
ForbiddenError,
parseJWT,
} from '@redwoodjs/graphql-server'
import { logger } from 'src/lib/logger' import { logger } from 'src/lib/logger'
/** /**
* getCurrentUser returns the user information together with * getCurrentUser returns the user information together with