Skip to content

Commit e1ef8bf

Browse files
add payload fot every type
1 parent 5726f9b commit e1ef8bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/final_combined.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
run: |
105105
echo "Sending JSON payload to API"
106106
107-
response=$(curl -s -X POST "$API_BASE/polling" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" --data-binary "@$JSON_PAYLOAD_PATH")
107+
response=$(curl -s -X POST "$API_BASE/dataConnector" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" --data-binary "@$JSON_PAYLOAD_PATH")
108108
109109
result_status=$(echo "$response" | jq -r '.status // empty')
110110
message=$(echo "$response" | jq -r '.message // "No message provided"')

.github/workflows/final_diffpayload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ jobs:
262262
- name: POST _CL payload
263263
if: env.JSON__CL_PATH != 'empty'
264264
run: |
265-
response=$(curl -s -X POST "$API_BASE/cl" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" --data-binary "@$JSON__CL_PATH")
265+
response=$(curl -s -X POST "$API_BASE/table_CL" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" --data-binary "@$JSON__CL_PATH")
266266
result_status=$(echo "$response" | jq -r '.status // empty')
267267
message=$(echo "$response" | jq -r '.message // "No message provided"')
268268
if [ "$result_status" != "passed" ]; then

0 commit comments

Comments
 (0)