Enabled batched members import method through enableDeveloperExperiments flag

no issue

- Allows early testing of batched import method
This commit is contained in:
Nazar Gargol 2020-08-11 17:04:49 +12:00
parent bbcc0f5178
commit 8a7e00c413

View File

@ -968,4 +968,11 @@ const members = {
}
};
// NOTE: remove below condition once batched import is production ready,
// remember to swap out current importCSV method when doing so
if (config.get('enableDeveloperExperiments')) {
members.importCSV = members.importCSVBatched;
delete members.importCSVBatched;
}
module.exports = members;