q-koa 8.3.0 → 8.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -317,6 +317,8 @@ exports.initDataWithCache = exports.initData = async (ctx) => {
317
317
  const { includes, excludes = [] } = ctx.request.body
318
318
 
319
319
  const cacheTarget = JSON.stringify(ctx.request.body)
320
+
321
+ let result = null
320
322
  if (is_cache && cache.get(cacheTarget)) {
321
323
  result = cache.get(cacheTarget)
322
324
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "8.3.0",
3
+ "version": "8.3.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {