fix: remove debug leftovers
This commit is contained in:
parent
4f8de0d50d
commit
76b97e9f94
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user