From 9da7f569f45569441ece4ec52fcdb4949ca3bd06 Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Wed, 4 Dec 2024 14:36:35 -0500 Subject: [PATCH] k --- scripts/insert-nids.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/insert-nids.sh b/scripts/insert-nids.sh index d2409ca..b67624f 100755 --- a/scripts/insert-nids.sh +++ b/scripts/insert-nids.sh @@ -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 islandora_workbench/input_data/rollback.csv | jq -R 'tonumber? | [if . == null then empty else . end]' | jq -s '{"values": [.[] | . ]}') +PAYLOAD=$(tail +4 /tmp/rollback.csv | jq -R 'tonumber? | [if . == null then empty else . end]' | jq -s '{"values": [.[] | . ]}') STATUS=$(curl -s -X POST \ -o /tmp/gsup.log \