From aef512a108c84b3dd2bce042a0a3a552b00ff39f Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 1 Jul 2021 11:29:27 +0100 Subject: [PATCH] Fixing issue with full list of apps not appearing in user administration, meaning couldn't update roles. --- packages/worker/src/api/controllers/admin/roles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/api/controllers/admin/roles.js b/packages/worker/src/api/controllers/admin/roles.js index 17207be6f2..3cd99f8c4f 100644 --- a/packages/worker/src/api/controllers/admin/roles.js +++ b/packages/worker/src/api/controllers/admin/roles.js @@ -8,7 +8,7 @@ const CouchDB = require("../../../db") exports.fetch = async ctx => { // always use the dev apps as they'll be most up to date (true) - const apps = await getAllApps({ CouchDB, dev: true }) + const apps = await getAllApps({ CouchDB, all: true }) const promises = [] for (let app of apps) { // use dev app IDs