@dnax/core 0.70.5 → 0.70.7
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.
- package/app/hono.ts +1 -1
- package/driver/mongo/rest.ts +1 -1
- 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/driver/mongo/rest.ts
CHANGED