fix
This commit is contained in:
parent
cd14ab34bb
commit
ecb01a8e08
|
@ -101,8 +101,8 @@
|
|||
"taskReferenceName": "extract_context",
|
||||
"type": "LAMBDA",
|
||||
"inputParameters": {
|
||||
"client" : "${lookup_context.output.body[0]}",
|
||||
"scriptExpression": "function e(v){ return (v == null || v == undefined)}; if(e($.client)) throw('Workspace client not found'); else return { client : $.client, id : $.client.id}"
|
||||
"client" : "${lookup_context.output.body}",
|
||||
"scriptExpression": "function e(v){ return (v.length === 0)}; if(e($.client)) throw('Workspace client not found'); else return { client : $.client[0], id: $.client[0].id : }"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -110,7 +110,7 @@
|
|||
"type" : "SIMPLE",
|
||||
"taskReferenceName": "retrieve_member_role",
|
||||
"inputParameters" : {
|
||||
"url" : "${init.input.keycloak_admin}/clients/${extract_context.id}/roles/Member",
|
||||
"url" : "${init.input.keycloak_admin}/clients/${extract_context.output.result.id}/roles/Member",
|
||||
"method" :"GET",
|
||||
"headers" : {
|
||||
"Authorization" : "Bearer ${authorize.output.body.access_token}",
|
||||
|
|
Loading…
Reference in New Issue