Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Dec 4, 2024
1 parent acf61b4 commit ec8ab9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/insert-nids.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
# extract sheet ID from https://docs.google.com/spreadsheets/d/foo/edit?gid=0#gid=0
SHEET_ID=$(echo "$URL" | sed -n 's|.*/d/\(.*\)|\1|p')
API_URL="https://sheets.googleapis.com/v4/spreadsheets/$SHEET_ID/values/Sheet1!D2:append"
PAYLOAD=$(tail +4 /tmp/rollback.csv | jq -nR '[inputs | {"values": [split("\n")]}]')
PAYLOAD=$(tail +4 /tmp/rollback.csv | jq -R . | jq -s '{"values": .}')

curl -s -X POST \
--header "Authorization: Bearer $ACCESS_TOKEN" \
Expand Down

0 comments on commit ec8ab9d

Please sign in to comment.