Tag: header
-
Submission error! response.header is not a function in nest-fastify graphql
0 I need set header autorization client. But have error in my Mutation "Submission error! response.header is not a function". my main.ts async function bootstrap() { const app = await NestFactory.create<NestFastifyApplication>( AppModule, new FastifyAdapter(), ); await app.enableCors({ origin: true, methods: ‘GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS’, credentials: true, }); await app.useGlobalPipes(new ValidationPipe({ stopAtFirstError: true })); await app.register(fastifyCookie, { secret: ‘secret’,…