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 {
8686
8787 zipConfig : async ( ctx ) => {
8888 // 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' ) ) ) {
9090 ctx . send ( {
9191 message : 'No config files were found.' ,
9292 } ) ;
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export default () => ({
7777 const fileName = `config-sync-${ new Date ( ) . toJSON ( ) } .zip` ;
7878
7979 const zip = new AdmZip ( ) ;
80- zip . addLocalFolder ( strapi . config . get ( 'plugin. config-sync.syncDir' ) ) ;
80+ zip . addLocalFolder ( strapi . config . get ( 'plugin:: config-sync.syncDir' ) ) ;
8181 const base64Data = zip . toBuffer ( ) . toString ( 'base64' ) ;
8282
8383 return { base64Data, name : fileName , message : 'Success' } ;
You can’t perform that action at this time.
0 commit comments