feat: page locale migration + deps update
This commit is contained in:
1 parent
35c09a3602
commit
5689444a17
11 files changed
+154
-60
No files matched your search
@@ -98,9 +98,10 @@ module.exports = {
|
||||
},
|
||||
async migrateToLocale(obj, args, context) {
|
||||
try {
|
||||
|
||||
const count = await WIKI.models.pages.migrateToLocale(args)
|
||||
return {
|
||||
responseResult: graphHelper.generateSuccess('Migrated all content to target locale successfully.')
|
||||
responseResult: graphHelper.generateSuccess('Migrated content to target locale successfully.'),
|
||||
count
|
||||
}
|
||||
} catch (err) {
|
||||
return graphHelper.generateError(err)
|
||||
|
||||
Reference in new issue
Block a user