Removed default limit of log size
added "?limit=0"
This commit is contained in:
parent
364e36b7bb
commit
2244831653
@ -283,7 +283,7 @@ DB_NAME="nuki"
|
||||
|
||||
while [ true ]; do
|
||||
|
||||
eval "curl -X GET $CURL_HEADER $BASE_URL/smartlock/log -o "$FILE_BASE"_SmartlockLog.json"
|
||||
eval "curl -X GET $CURL_HEADER $BASE_URL/smartlock/log?limit=0 -o "$FILE_BASE"_SmartlockLog.json"
|
||||
jq -r "$JQ_CSV" "$FILE_BASE"_SmartlockLog.json > "$FILE_BASE"_SmartlockLog.csv
|
||||
sed -i 's/true/1/g' "$FILE_BASE"_SmartlockLog.csv
|
||||
sed -i 's/false/0/g' "$FILE_BASE"_SmartlockLog.csv
|
||||
|
Loading…
Reference in New Issue
Block a user