bug fix for indexes
This commit is contained in:
parent
0d0685cd48
commit
f8ba293171
|
@ -23,7 +23,7 @@
|
|||
isallowed: index.allowedRecordNodeIds.some(id => node.nodeId === id),
|
||||
})),
|
||||
filter(hierarchyFunctions.isRecord),
|
||||
filter(hierarchyFunctions.isDecendant(index.parent())),
|
||||
filter(hierarchyFunctions.isDecendant($store.currentNode.parent())),
|
||||
hierarchyFunctions.getFlattenedHierarchy
|
||||
)
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import api from "../../builderStore/api"
|
||||
import { getNewRecord, getNewInstance } from "../../common/core"
|
||||
|
||||
export async function createUser(user, { appname, instanceId }) {
|
||||
export async function createUser(password, user, { appname, instanceId }) {
|
||||
const CREATE_USER_URL = `/_builder/instance/${appname}/${instanceId}/api/createUser`
|
||||
const response = await api.post(CREATE_USER_URL, user)
|
||||
const response = await api.post(CREATE_USER_URL, { user, password })
|
||||
return await response.json()
|
||||
}
|
||||
|
||||
|
|
|
@ -18,11 +18,12 @@
|
|||
|
||||
async function createUser() {
|
||||
const response = await api.createUser(
|
||||
password,
|
||||
{
|
||||
username,
|
||||
password,
|
||||
accessLevels,
|
||||
enabled: true,
|
||||
temporaryAccessId: ""
|
||||
},
|
||||
currentAppInfo
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue