feat: history version diff
This commit is contained in:
@@ -21,6 +21,15 @@ module.exports = {
|
||||
offsetSize: args.offsetSize || 100
|
||||
})
|
||||
},
|
||||
/**
|
||||
* PAGE VERSION
|
||||
*/
|
||||
async version(obj, args, context, info) {
|
||||
return WIKI.models.pageHistory.getVersion({
|
||||
pageId: args.pageId,
|
||||
versionId: args.versionId
|
||||
})
|
||||
},
|
||||
/**
|
||||
* SEARCH PAGES
|
||||
*/
|
||||
|
Reference in New Issue
Block a user