From fbb63ef3f52e935baf077cb88294e7c7b049f1a3 Mon Sep 17 00:00:00 2001 From: sHa Date: Wed, 13 Mar 2024 11:13:55 +0200 Subject: [PATCH] Update JSON dump indentation to 4 spaces --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index a1d2ecd..e9962cb 100644 --- a/app.py +++ b/app.py @@ -59,7 +59,7 @@ def store_last_request(request_data, namespace="requests"): data.pop(0) with open(filename, "w") as f: - json.dump(data, f) + json.dump(data, f, indent=4) @app.get("/", status_code=status.HTTP_200_OK)