Fixing issue with full list of apps not appearing in user administration, meaning couldn't update roles.
This commit is contained in:
parent
2258f43bc1
commit
aef512a108
|
@ -8,7 +8,7 @@ const CouchDB = require("../../../db")
|
||||||
|
|
||||||
exports.fetch = async ctx => {
|
exports.fetch = async ctx => {
|
||||||
// always use the dev apps as they'll be most up to date (true)
|
// 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 = []
|
const promises = []
|
||||||
for (let app of apps) {
|
for (let app of apps) {
|
||||||
// use dev app IDs
|
// use dev app IDs
|
||||||
|
|
Loading…
Reference in New Issue