diff --git a/server/models/subscriptions.js b/server/models/subscriptions.js index dd99841d..06450f0c 100644 --- a/server/models/subscriptions.js +++ b/server/models/subscriptions.js @@ -863,7 +863,7 @@ async function getListsWithEmail(context, email) { // FIXME - this methods is rather suboptimal if there are many lists. It quite needs permission caching in shares.js return await knex.transaction(async tx => { - const lsts = await tx('lists').select(['id', 'name']); + const lsts = await tx('lists').select(['id', 'cid', 'name']); const result = []; for (const list of lsts) {