WIP - manage tenant users from central
This commit is contained in:
@@ -52,7 +52,10 @@ const fetchRelatedRecords = async () => {
|
||||
error.value = null
|
||||
|
||||
try {
|
||||
const response = await api.get(`${props.baseUrl}/${props.config.objectApiName}`, {
|
||||
// Replace :parentId placeholder in the API path
|
||||
let apiPath = props.config.objectApiName.replace(':parentId', props.parentId)
|
||||
|
||||
const response = await api.get(`${props.baseUrl}/${apiPath}`, {
|
||||
params: {
|
||||
parentId: props.parentId,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user