Fixing API calls

This commit is contained in:
stephb9959
2021-07-14 06:51:49 -07:00
parent 31ac3b10f1
commit f82fdabc5c

View File

@@ -127,7 +127,7 @@ latestfirmware() {
curl ${FLAGS} -X GET -H "Content-Type: application/json" \
-H "Authorization: Bearer ${token}" \
"https://${UCENTRALFMS}/api/v1/firmwares?latestOnly=true&deviceType=$1" > ${result_file}
jq < ${result_file}
jq < ${result_file}cd ../
}
help() {