convert-slow-api
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -49,7 +49,7 @@ "use strict"; | ||
}; | ||
res.json(cached); | ||
_context.next = 7; | ||
_context.next = 6; | ||
return _cache["default"].set(cacheKey, cached); | ||
case 7: | ||
case 6: | ||
res.json(cached); | ||
_context.prev = 7; | ||
@@ -56,0 +56,0 @@ _context.next = 10; |
{ | ||
"name": "convert-slow-api", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/get-router.js", |
@@ -22,4 +22,4 @@ import { Router } from 'express' | ||
} | ||
await cache.set(cacheKey, cached) | ||
res.json(cached) | ||
await cache.set(cacheKey, cached) | ||
try { | ||
@@ -26,0 +26,0 @@ let result = await asyncFn(param) |
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