change variable to reflect negation
This commit is contained in:
parent
a0735efbb7
commit
2395112ce2
|
@ -134,10 +134,10 @@ exports.defineFilter = includeRows => {
|
||||||
* @param {object} config Config to send to export DB
|
* @param {object} config Config to send to export DB
|
||||||
* @returns {*} either a string or a stream of the backup
|
* @returns {*} either a string or a stream of the backup
|
||||||
*/
|
*/
|
||||||
const backupAppData = async (appId, config, noRows) => {
|
const backupAppData = async (appId, config, includeRows) => {
|
||||||
return await exports.exportDB(appId, {
|
return await exports.exportDB(appId, {
|
||||||
...config,
|
...config,
|
||||||
filter: exports.defineFilter(noRows),
|
filter: exports.defineFilter(includeRows),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue