Browse Source

fix: remove debug leftovers

pull/1173/head
NGPixel 5 years ago
parent
commit
76b97e9f94
1 changed files with 0 additions and 2 deletions
  1. 2
      server/models/pages.js

2
server/models/pages.js

@ -354,9 +354,7 @@ module.exports = class Page extends Model {
// -> Update Search Index
const pageContents = await WIKI.models.pages.query().findById(page.id).select('render')
console.info(pageContents.render)
page.safeContent = WIKI.models.pages.cleanHTML(pageContents.render)
console.info(page.safeContent)
await WIKI.data.searchEngine.updated(page)
// -> Update on Storage

Loading…
Cancel
Save