feat: sidebar rendering
This commit is contained in:
1 parent
0b5a4e0c63
commit
763bf4b903
7 files changed
+31
-17
No files matched your search
@@ -21,6 +21,7 @@ module.exports = {
|
||||
await WIKI.models.navigation.query().patch({
|
||||
config: args.tree
|
||||
}).where('key', 'site')
|
||||
await WIKI.redis.set('nav:sidebar', JSON.stringify(args.tree), 'EX', 300)
|
||||
|
||||
return {
|
||||
responseResult: graphHelper.generateSuccess('Navigation updated successfully')
|
||||
|
||||
Reference in new issue
Block a user