diff --git a/core/server/api/canary/utils/serializers/input/members.js b/core/server/api/canary/utils/serializers/input/members.js index 42e342d781..b90638fab4 100644 --- a/core/server/api/canary/utils/serializers/input/members.js +++ b/core/server/api/canary/utils/serializers/input/members.js @@ -47,6 +47,12 @@ module.exports = { this.browse(...arguments); }, + exportCSV() { + debug('exportCSV'); + + this.browse(...arguments); + }, + add(apiConfig, frame) { debug('add'); if (frame.data.members[0].labels) { diff --git a/test/e2e-api/admin/members.test.js b/test/e2e-api/admin/members.test.js index 3b63bcd202..526e8dbe6e 100644 --- a/test/e2e-api/admin/members.test.js +++ b/test/e2e-api/admin/members.test.js @@ -1543,7 +1543,7 @@ describe('Members API', function () { it('Can export CSV', async function () { const res = await agent - .get(`/members/upload/`) + .get(`/members/upload/?limit=all`) .expectStatus(200) .expectEmptyBody() // express-test body parsing doesn't support CSV .matchHeaderSnapshot({