edit permission
This commit is contained in:
parent
8d38768494
commit
53302147ef
1 changed files with 7 additions and 6 deletions
|
|
@ -194,12 +194,13 @@ class CheckAuth {
|
||||||
reply = JSON.parse(reply);
|
reply = JSON.parse(reply);
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
if (!keycloakId) throw "Error calling API No KeycloakId";
|
||||||
const x = await new CallAPI().GetData(
|
const x = await new CallAPI().GetData(
|
||||||
{
|
{
|
||||||
headers: { authorization: token },
|
headers: { authorization: token },
|
||||||
},
|
},
|
||||||
`/org/permission/checkOrg/${keycloakId}`,
|
`/org/permission/checkOrg/${keycloakId}`,
|
||||||
false
|
false,
|
||||||
);
|
);
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue