strapi-plugin-field-clearer 1.0.10 → 1.0.11

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.
@@ -694,7 +694,7 @@ const service = ({ strapi }) => ({
694
694
  };
695
695
  let document;
696
696
  try {
697
- document = await this.fetchDocumentWithPublishedFallback(contentType, documentId, populate);
697
+ document = await this.fetchDocument(contentType, documentId, populate);
698
698
  } catch (error) {
699
699
  try {
700
700
  document = await this.fetchDocument(contentType, documentId, {
@@ -852,7 +852,7 @@ const service = ({ strapi }) => ({
852
852
  };
853
853
  let document;
854
854
  try {
855
- document = await this.fetchDocumentWithPublishedFallback(contentType, documentId, populate);
855
+ document = await this.fetchDocument(contentType, documentId, populate);
856
856
  } catch (error) {
857
857
  try {
858
858
  document = await this.fetchDocument(contentType, documentId, {
@@ -693,7 +693,7 @@ const service = ({ strapi }) => ({
693
693
  };
694
694
  let document;
695
695
  try {
696
- document = await this.fetchDocumentWithPublishedFallback(contentType, documentId, populate);
696
+ document = await this.fetchDocument(contentType, documentId, populate);
697
697
  } catch (error) {
698
698
  try {
699
699
  document = await this.fetchDocument(contentType, documentId, {
@@ -851,7 +851,7 @@ const service = ({ strapi }) => ({
851
851
  };
852
852
  let document;
853
853
  try {
854
- document = await this.fetchDocumentWithPublishedFallback(contentType, documentId, populate);
854
+ document = await this.fetchDocument(contentType, documentId, populate);
855
855
  } catch (error) {
856
856
  try {
857
857
  document = await this.fetchDocument(contentType, documentId, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-field-clearer",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "A Strapi v5 plugin to clear/delete field data from content types. Supports nested fields, component arrays, relations, and more.",
5
5
  "keywords": [
6
6
  "strapi",
@@ -82,5 +82,6 @@
82
82
  "name": "field-clearer",
83
83
  "displayName": "Field Clearer",
84
84
  "description": "Clear/delete field data from content types with a simple UI"
85
- }
85
+ },
86
+ "dependencies": {}
86
87
  }