1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00

Fixing issue discovered by test.

This commit is contained in:
Michael Drury 2022-09-23 22:24:31 +01:00
parent 0269089f5a
commit 1b021d35a3

View file

@ -6,7 +6,7 @@ const { BUILTIN_ROLE_IDS } = require("@budibase/backend-core/roles")
exports.getFullUser = async (ctx, userId) => {
const global = await getGlobalUser(userId)
let metadata
let metadata = {}
try {
// this will throw an error if the db doesn't exist, or there is no appId
const db = getAppDB()