@se-studio/contentful-rest-api 1.0.43 → 1.0.45

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.js CHANGED
@@ -122,13 +122,13 @@ async function revalidateTags(tags, reason) {
122
122
  await delay(500);
123
123
  for (const tag of tags) {
124
124
  console.log(`Revalidating tag: ${tag} - ${reason}`);
125
- revalidateTag(tag, "max");
125
+ revalidateTag(tag);
126
126
  }
127
127
  }
128
128
  async function revalidateSingleTag(tag, reason) {
129
129
  await delay(500);
130
130
  console.log(`Revalidating single tag: ${tag} - ${reason}`);
131
- revalidateTag(tag, "max");
131
+ revalidateTag(tag);
132
132
  }
133
133
  function delay(ms) {
134
134
  return new Promise((resolve) => setTimeout(resolve, ms));