Skip to content

Commit

Permalink
fix: make workflowInput follow JSON convention
Browse files Browse the repository at this point in the history
As done in Google Drive and WhatsApp connectors.

Also, adjust inputs to work for non-null input. Will need to test with
other null input tomorrow.
  • Loading branch information
ev-codes committed Jan 8, 2024
1 parent 324d27f commit daea2df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions connectors/github/element-templates/github-connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,8 @@
"description": "Key-value pairs in a single JSON object",
"id": "workflowInputs",
"group": "input",
"type": "String",
"type": "Text",
"feel": "required",
"value": "",
"binding": {
"type": "zeebe:input",
Expand Down Expand Up @@ -1341,7 +1342,7 @@
{
"group": "input",
"type": "Hidden",
"value": "={\"ref\": if gitReference = null then null else gitReference, \"inputs\": if workflowInputs = null then null else workflowInputs}",
"value": "={\"ref\": if gitReference = null then null else gitReference, \"inputs\":workflowInputs}",
"binding": {
"type": "zeebe:input",
"name": "body"
Expand Down

0 comments on commit daea2df

Please sign in to comment.