From c90793051843156986ca1781dede84a8bbd45275 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Thu, 7 Jul 2022 13:14:10 +0200 Subject: [PATCH] Fix fileName property via FrontMatter --- src/find-file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/find-file.ts b/src/find-file.ts index 75c378f..86c7c41 100644 --- a/src/find-file.ts +++ b/src/find-file.ts @@ -38,7 +38,7 @@ function getAttributes(files: PullsListFilesResponseItem[]): IFileProps[] { : {}; return { filename: getFileName( - reqdAttributes["filename"], + reqdAttributes["fileName"], reqdAttributes["title"] ), attributes: reqdAttributes