mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
Fix slide might not provide slideOptions meta
This commit is contained in:
parent
9b16703819
commit
ca95901204
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ function showPublishSlide (req, res, next) {
|
|||
updatetime: updatetime,
|
||||
url: origin,
|
||||
body: markdown,
|
||||
theme: utils.isRevealTheme(meta.slideOptions.theme),
|
||||
theme: meta.slideOptions && utils.isRevealTheme(meta.slideOptions.theme),
|
||||
meta: JSON.stringify(extracted.meta),
|
||||
useCDN: config.usecdn,
|
||||
owner: note.owner ? note.owner.id : null,
|
||||
|
|
Loading…
Reference in a new issue