@nkhang1902/strapi-plugin-export-import-clsx 1.2.3 → 1.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nkhang1902/strapi-plugin-export-import-clsx",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "A powerful Strapi plugin for exporting and importing data with Excel support and advanced filtering",
5
5
  "main": "./strapi-server.js",
6
6
  "scripts": {
@@ -413,7 +413,7 @@ module.exports = ({ strapi }) => ({
413
413
 
414
414
  if (id) {
415
415
  existing = await strapi.documents(contentType).findFirst(
416
- { filters: { id }, populate: "*" },
416
+ { filters: { id, event: { documentId: eventId } }, populate: "*" },
417
417
  { transaction: trx }
418
418
  );
419
419
  // if (!existing) throw new Error(`Document with id ${id} not found`);