@dnax/core 0.70.5 → 0.70.6

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.
Files changed (2) hide show
  1. package/app/hono.ts +1 -1
  2. package/package.json +1 -1
package/app/hono.ts CHANGED
@@ -578,7 +578,7 @@ function HonoInstance(): typeof app {
578
578
 
579
579
  // find
580
580
  if (action == "find") {
581
- if (col?.cache?.fetch && useCache) {
581
+ if (!col?.cache?.fetch && useCache) {
582
582
  // la fonctionnalité de cache n'est pas configuré
583
583
  return fn.error(`Cache features not configured`, 400);
584
584
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.70.5",
3
+ "version": "0.70.6",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {},