From 94f8507bfe38da9a2358f3675859ece6bb113be8 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Mon, 12 Jun 2023 09:46:55 +0200 Subject: [PATCH] Update 'README.md' fix limit. changed in the past --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 39ede3b..3a77aeb 100644 --- a/README.md +++ b/README.md @@ -306,7 +306,7 @@ DB_NAME="nuki" while [ true ]; do - eval "curl -X GET $CURL_HEADER $BASE_URL/smartlock/log?limit=0 -o "$FILE_BASE"_SmartlockLog.json" + eval "curl -X GET $CURL_HEADER $BASE_URL/smartlock/log?limit=50 -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