change variable to reflect negation

This commit is contained in:
Peter Clement 2022-05-25 15:06:41 +01:00
parent 955b9a4d63
commit af5c1a7e1f
1 changed files with 2 additions and 2 deletions

View File

@ -134,10 +134,10 @@ exports.defineFilter = includeRows => {
* @param {object} config Config to send to export DB
* @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, {
...config,
filter: exports.defineFilter(noRows),
filter: exports.defineFilter(includeRows),
})
}