Suhail Akhtar
Suhail Akhtar
> @Ayzrian If it helps you, I have solved same problem with interceptor: > > ```ts > @Injectable() > export class AsyncContextMsInterceptor implements NestInterceptor { > > constructor(private _asyncStorage: AppAsyncLocalStorage)...
I also had the same issue in NestJS so I added the content-type during the module registration as follows and it correctly added the content-type header in the curl string....
This is how I am using it in the pubsub microservice. ```typescript import { PinoLogger } from 'nestjs-pino'; import { storage, Store } from 'nestjs-pino/storage'; export const useLoggerAsyncStorage = (callback):...
Check the solution here https://github.com/axios/axios/issues/3821#issuecomment-1413727575
Any update on this?
```js const requiredIfEnabledKds = makeValidator((x) => { const isKdsEnabled = convertToBoolean(process.env. ENABLE_RAPTOR_SQL_LISTENER); if (isKdsEnabled && !x) { throw new Error("required when ENABLE_RAPTOR_SQL_LISTENER is enabled"); } return x; }); const schema...
Hi @ccoeurderoy I am using Joi library for validation instead of DTOs.
I used the `Authorization` key in `headers` to send the basic auth credentials and now it is logging in the curl string.
I also have the same issue.
@dangtony98 Have a look at https://www.npmjs.com/package/envalid