@nclabs/nestjs-rpc-module
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -46,4 +46,4 @@ "use strict"; | ||
if (data) { | ||
const req = context.switchToHttp().getRequest(); | ||
req.res.header('cache-data', 'true'); | ||
// const res = context.switchToHttp().getResponse().header('cache-data', 'true'); | ||
// res.data = data; | ||
return (0, rxjs_1.of)(data); | ||
@@ -50,0 +50,0 @@ } |
{ | ||
"name": "@nclabs/nestjs-rpc-module", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"description": "Utilitário NestJS para configuração de rotas e cache em microsserviços. Utilizado especificamente para projetos nclabs", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
443368