fix: remove cache from identify endpoint to fix issues with recontact time (#4453)

This commit is contained in:
Matti Nannt
2024-12-12 17:32:12 +01:00
committed by GitHub
parent 6699c92082
commit 37966880fd
@@ -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);