Commit 76b97e9f authored by NGPixel's avatar NGPixel

fix: remove debug leftovers

parent 4f8de0d5
...@@ -354,9 +354,7 @@ module.exports = class Page extends Model { ...@@ -354,9 +354,7 @@ module.exports = class Page extends Model {
// -> Update Search Index // -> Update Search Index
const pageContents = await WIKI.models.pages.query().findById(page.id).select('render') const pageContents = await WIKI.models.pages.query().findById(page.id).select('render')
console.info(pageContents.render)
page.safeContent = WIKI.models.pages.cleanHTML(pageContents.render) page.safeContent = WIKI.models.pages.cleanHTML(pageContents.render)
console.info(page.safeContent)
await WIKI.data.searchEngine.updated(page) await WIKI.data.searchEngine.updated(page)
// -> Update on Storage // -> Update on Storage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment