Merge pull request #1893 from Budibase/fix/user-app-role-list

Fixing user roles administration - getting full list of apps
This commit is contained in:
Michael Drury 2021-07-01 11:43:59 +01:00 committed by GitHub
commit 235f76d805
1 changed files with 1 additions and 1 deletions

View File

@ -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