Removing appIds from tokens to reduce confusion.
This commit is contained in:
parent
ac73b5c4aa
commit
d8da28502e
|
@ -33,8 +33,7 @@ exports.authenticate = async ctx => {
|
|||
const payload = {
|
||||
userId: dbUser._id,
|
||||
accessLevelId: dbUser.accessLevelId,
|
||||
version: app.version,
|
||||
appId,
|
||||
version: app.version
|
||||
}
|
||||
// if in cloud add the user api key
|
||||
if (env.CLOUD) {
|
||||
|
|
|
@ -10,7 +10,6 @@ module.exports = async (ctx, appId, version) => {
|
|||
const builderUser = {
|
||||
userId: "BUILDER",
|
||||
accessLevelId: BUILDER_LEVEL_ID,
|
||||
appId,
|
||||
version,
|
||||
}
|
||||
if (env.BUDIBASE_API_KEY) {
|
||||
|
|
Loading…
Reference in New Issue