mirror of
https://github.com/documenso/documenso.git
synced 2026-07-25 09:25:08 +10:00
fix: replace etag with hard cache
This commit is contained in:
@@ -79,6 +79,8 @@ export const extractAndStorePdfImages = async (
|
||||
pages: pageMetadata,
|
||||
} satisfies TDocumentDataMeta);
|
||||
|
||||
// Only update metadata (page dimensions). Never update type, data, or initialData:
|
||||
// DocumentData content is immutable so cache keys (documentDataId) stay valid.
|
||||
const updatedDocumentData = await prisma.documentData.update({
|
||||
where: { id: documentDataId },
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user