File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export default {
86
86
87
87
zipConfig : async ( ctx ) => {
88
88
// Check for existance of the config file sync dir.
89
- if ( ! fs . existsSync ( strapi . config . get ( 'plugin. config-sync.syncDir' ) ) ) {
89
+ if ( ! fs . existsSync ( strapi . config . get ( 'plugin:: config-sync.syncDir' ) ) ) {
90
90
ctx . send ( {
91
91
message : 'No config files were found.' ,
92
92
} ) ;
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export default () => ({
77
77
const fileName = `config-sync-${ new Date ( ) . toJSON ( ) } .zip` ;
78
78
79
79
const zip = new AdmZip ( ) ;
80
- zip . addLocalFolder ( strapi . config . get ( 'plugin. config-sync.syncDir' ) ) ;
80
+ zip . addLocalFolder ( strapi . config . get ( 'plugin:: config-sync.syncDir' ) ) ;
81
81
const base64Data = zip . toBuffer ( ) . toString ( 'base64' ) ;
82
82
83
83
return { base64Data, name : fileName , message : 'Success' } ;
You can’t perform that action at this time.
0 commit comments