Compare commits

...

1 Commits

Author SHA1 Message Date
Piyush Gupta
9833ba6b26 fix: license restores 2024-11-18 18:22:20 +05:30

View File

@@ -3,7 +3,7 @@ import { HttpsProxyAgent } from "https-proxy-agent";
import fetch from "node-fetch"; import fetch from "node-fetch";
import { cache as reactCache } from "react"; import { cache as reactCache } from "react";
import { prisma } from "@formbricks/database"; import { prisma } from "@formbricks/database";
import { cache } from "@formbricks/lib/cache"; import { cache, revalidateTag } from "@formbricks/lib/cache";
import { import {
E2E_TESTING, E2E_TESTING,
ENTERPRISE_LICENSE_KEY, ENTERPRISE_LICENSE_KEY,
@@ -45,7 +45,7 @@ const setPreviousResult = async (previousResult: {
lastChecked: Date; lastChecked: Date;
features: TEnterpriseLicenseFeatures | null; features: TEnterpriseLicenseFeatures | null;
}) => { }) => {
// revalidateTag(PREVIOUS_RESULTS_CACHE_TAG_KEY); revalidateTag(PREVIOUS_RESULTS_CACHE_TAG_KEY);
const { lastChecked, active, features } = previousResult; const { lastChecked, active, features } = previousResult;
await cache( await cache(