Skip to content

Commit ca95901

Browse files
committed
Fix slide might not provide slideOptions meta
1 parent 9b16703 commit ca95901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/response.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ function showPublishSlide (req, res, next) {
575575
updatetime: updatetime,
576576
url: origin,
577577
body: markdown,
578-
theme: utils.isRevealTheme(meta.slideOptions.theme),
578+
theme: meta.slideOptions && utils.isRevealTheme(meta.slideOptions.theme),
579579
meta: JSON.stringify(extracted.meta),
580580
useCDN: config.usecdn,
581581
owner: note.owner ? note.owner.id : null,

0 commit comments

Comments
 (0)