@dnax/core 0.75.1 → 0.75.5
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/driver/mongo/rest.ts +1 -1
- package/package.json +1 -1
package/driver/mongo/rest.ts
CHANGED
|
@@ -2362,7 +2362,7 @@ class useRest {
|
|
|
2362
2362
|
let col = getCollection(collection, this.#tenant_id);
|
|
2363
2363
|
if (!col) return fn.error(`Collection ${collection} not found`, 404);
|
|
2364
2364
|
if (col?.customApi?.[action]) {
|
|
2365
|
-
let result = await col?.
|
|
2365
|
+
let result = await col?.actions?.[action]({
|
|
2366
2366
|
error: fn.error,
|
|
2367
2367
|
io: Cfg.io,
|
|
2368
2368
|
session: sessionStorage(),
|