Skip to content

Commit 9eb404b

Browse files
correct problem ID issue
1 parent 6ea66ce commit 9eb404b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create_new_note.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
https://leetcode.com/graphql -o response.json
2121
2222
# Parse problem details and set outputs
23-
PROBLEM_ID=$(jq -r '.data.activeDailyCodingChallengeQuestion.question.questionId' response.json)
23+
PROBLEM_ID=$(jq -r '.data.activeDailyCodingChallengeQuestion.question.questionFrontendId' response.json)
2424
echo "::set-output name=problem_id::${PROBLEM_ID}"
2525
2626
TITLE=$(jq -r '.data.activeDailyCodingChallengeQuestion.question.title' response.json)

0 commit comments

Comments
 (0)