From 231a3fd6bd6556df77396d2a274617aa999f20d8 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sun, 20 Nov 2022 21:47:49 +0100 Subject: [PATCH] feat: add note specific filename for unidiff format in revision patch Signed-off-by: Philip Molares --- backend/src/revisions/revisions.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/revisions/revisions.service.ts b/backend/src/revisions/revisions.service.ts index 77bbaf0ae..e39ec2ad6 100644 --- a/backend/src/revisions/revisions.service.ts +++ b/backend/src/revisions/revisions.service.ts @@ -153,7 +153,7 @@ export class RevisionsService { return undefined; } const patch = createPatch( - 'markdownContent', + note.publicId, latestRevision.content, newContent, );