mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-18 03:29:15 +00:00
fix(provider): ⚡ json space
fix(provider): ⚡ json space
This commit is contained in:
@@ -35,6 +35,7 @@ module.exports = [
|
||||
output: {
|
||||
banner: banner['banner.output'].join(''),
|
||||
file: join(__dirname, 'lib', 'json', 'index.cjs'),
|
||||
format: 'cjs',
|
||||
},
|
||||
plugins: [commonjs()],
|
||||
},
|
||||
|
||||
@@ -32,7 +32,7 @@ class JsonFileAdapter {
|
||||
}
|
||||
|
||||
saveData(data) {
|
||||
writeFileSync(this.pathFile, JSON.stringify(data))
|
||||
writeFileSync(this.pathFile, JSON.stringify(data, null, 2))
|
||||
}
|
||||
|
||||
getPrevByNumber = async (from) => {
|
||||
|
||||
Reference in New Issue
Block a user