Skip to content

Commit 937613d

Browse files
committed
Chore: cleanup
1 parent 66ccb74 commit 937613d

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

package-lock.json

Lines changed: 17 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

publish/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,11 @@ async function main() {
9999
{
100100
id: fileNameWithoutExtension,
101101
title: data.title,
102+
description: data.description,
102103
content,
103104
author: data.author,
104-
tags: data.tags,
105+
tags: data?.tags,
105106
link: fileNameWithoutExtension,
106-
dateCreated: new Date(data.dateCreated).toISOString(),
107-
description: data.description,
108107
},
109108
]);
110109
} catch (error) {}

0 commit comments

Comments
 (0)