NestJS - Interceptors
Identify the error in this interceptor code:
Assuming the controller returns an object, what is wrong?
intercept(context, next) {
return next.handle().pipe(map(data => data * 2));
}Assuming the controller returns an object, what is wrong?
