pull/5144/head
SaPl 3 years ago committed by GitHub
parent b5b4b0880a
commit 471d616e1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -439,7 +439,9 @@ module.exports = class Page extends Model {
let page = await WIKI.models.pages.getPageFromDb(ogPage.id)
// -> Save Tags
if (opts.tags && opts.tags.length > 0) {
await WIKI.models.tags.associateTags({ tags: opts.tags, page })
}
// -> Render page to HTML
await WIKI.models.pages.renderPage(page)

Loading…
Cancel
Save