mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-01 19:32:57 -05:00
fix: remove cache from identify endpoint to fix issues with recontact time (#4453)
This commit is contained in:
+1
-5
@@ -56,11 +56,7 @@ export const GET = async (
|
||||
});
|
||||
}
|
||||
|
||||
return responses.successResponse(
|
||||
personState.state,
|
||||
true,
|
||||
"public, s-maxage=600, max-age=840, stale-while-revalidate=600, stale-if-error=600"
|
||||
);
|
||||
return responses.successResponse(personState.state, true);
|
||||
} catch (err) {
|
||||
if (err instanceof ResourceNotFoundError) {
|
||||
return responses.notFoundResponse(err.resourceType, err.resourceId);
|
||||
|
||||
Reference in New Issue
Block a user