lint
This commit is contained in:
parent
71f9b4f832
commit
e74c685956
|
@ -1,4 +1,4 @@
|
|||
import { get } from "builderStore/api";
|
||||
import { get } from "builderStore/api"
|
||||
|
||||
/**
|
||||
* Fetches the definitions for component library components. This includes
|
||||
|
|
|
@ -324,7 +324,7 @@ export default {
|
|||
key: "type",
|
||||
control: OptionSelect,
|
||||
options: [
|
||||
"column2d",
|
||||
"column2d",
|
||||
"column3d",
|
||||
"line",
|
||||
"area2d",
|
||||
|
@ -335,8 +335,8 @@ export default {
|
|||
"doughnut2d",
|
||||
"doughnut3d",
|
||||
"pareto2d",
|
||||
"pareto3d"
|
||||
]
|
||||
"pareto3d",
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
@ -27,7 +27,7 @@ export const bbFactory = ({
|
|||
method: method,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"x-user-agent": "Budibase Builder"
|
||||
"x-user-agent": "Budibase Builder",
|
||||
},
|
||||
body: body && JSON.stringify(body),
|
||||
})
|
||||
|
|
|
@ -12,7 +12,8 @@ exports.authenticate = async ctx => {
|
|||
|
||||
// find the instance that the user is associated with
|
||||
const db = new CouchDB(ClientDb.name(env.CLIENT_ID))
|
||||
const app = await db.get(ctx.params.appId)
|
||||
const appId = ctx.params.appId
|
||||
const app = await db.get(appId)
|
||||
const instanceId = app.userInstanceMap[username]
|
||||
|
||||
if (!instanceId)
|
||||
|
|
Loading…
Reference in New Issue