feat: HA event handling + emitting
This commit is contained in:
1 parent
6a00a5dbce
commit
bd4263ecb2
14 files changed
+90
-20
No files matched your search
@@ -434,6 +434,7 @@ module.exports = {
|
||||
async flushCache(obj, args, context) {
|
||||
try {
|
||||
await WIKI.models.pages.flushCache()
|
||||
WIKI.events.outbound.emit('flushCache')
|
||||
return {
|
||||
responseResult: graphHelper.generateSuccess('Pages Cache has been flushed successfully.')
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user