Skip to content

Commit 5019014

Browse files
committed
fix: use env_id (underscore) in JSON payload to match API field name
1 parent 78d1193 commit 5019014

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/review.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export COMMENT_FILE="/tmp/elementary-comment.md"
3333
# Step 1: Elementary API generates the comment
3434
PAYLOAD="{\"repository\": \"${REPOSITORY}\", \"branch\": \"${BRANCH}\""
3535
if [ -n "${ELEMENTARY_ENV_ID:-}" ]; then
36-
PAYLOAD="${PAYLOAD}, \"env-id\": \"${ELEMENTARY_ENV_ID}\""
36+
PAYLOAD="${PAYLOAD}, \"env_id\": \"${ELEMENTARY_ENV_ID}\""
3737
fi
3838
PAYLOAD="${PAYLOAD}}"
3939

0 commit comments

Comments
 (0)