@nexo-labs/payload-typesense 1.4.2 → 1.4.3
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/dist/index.d.mts +24 -18
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -2684,7 +2684,7 @@ const extractCollectionName = (request) => {
|
|
|
2684
2684
|
collectionNameStr = "";
|
|
2685
2685
|
}
|
|
2686
2686
|
} else {
|
|
2687
|
-
const paramCollectionName = request.
|
|
2687
|
+
const paramCollectionName = request.routeParams?.collectionName;
|
|
2688
2688
|
collectionName = String(paramCollectionName || "");
|
|
2689
2689
|
collectionNameStr = collectionName;
|
|
2690
2690
|
}
|