Skip to content

Commit ec2cb4b

Browse files
dhercherleahecole
andauthored
Fix incorrect data submission (#2844)
The configuration to send composer needs to be inside the data block rather than the JSON body itself Co-authored-by: Leah E. Cole <[email protected]>
1 parent fbcdef1 commit ec2cb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/composer/composer_storage_trigger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def trigger_dag(data, context=None):
5858
+ '/dag_runs'
5959
)
6060
# Make a POST request to IAP which then Triggers the DAG
61-
make_iap_request(webserver_url, client_id, method='POST', json=data)
61+
make_iap_request(webserver_url, client_id, method='POST', json={"conf":data})
6262

6363

6464
# This code is copied from

0 commit comments

Comments
 (0)