production deploy next fix
This commit is contained in:
@ -6,7 +6,7 @@ type UserType = {
|
||||
id: string
|
||||
}
|
||||
|
||||
const resolveUserFn = async context => {
|
||||
const resolveUserFn = async (context: any) => {
|
||||
const authHeader = context.req.headers.authorization;
|
||||
const authtoken = process.env.GRAPHQL_MESH
|
||||
if (authHeader !== authtoken) {
|
Reference in New Issue
Block a user