From 2395112ce2938baa469b8309401e2db8ce617366 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Wed, 25 May 2022 15:06:41 +0100 Subject: [PATCH] change variable to reflect negation --- packages/server/src/utilities/fileSystem/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/utilities/fileSystem/index.js b/packages/server/src/utilities/fileSystem/index.js index 3666d09794..bbfeb5b627 100644 --- a/packages/server/src/utilities/fileSystem/index.js +++ b/packages/server/src/utilities/fileSystem/index.js @@ -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), }) }