From 39b9c8b5a9b29160d7ce4dcc0ca3886ee4c5166a Mon Sep 17 00:00:00 2001 From: Christopher Spelt <75083219+ChristopherSpelt@users.noreply.github.com> Date: Fri, 9 Jan 2026 15:00:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(backend)=20fix=20TRASHBIN=5FCUTOFF?= =?UTF-8?q?=5FDAYS=20type=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes `TRASHBIN_CUTOFF_DAYS` type as described in #1777. Signed-off-by: ChristopherSpelt --- CHANGELOG.md | 1 + src/backend/impress/settings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d1a8872..3574246d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to ### Fixed - ✅(backend) reduce flakiness on backend test #1769 +- 🐛(backend) fix TRASHBIN_CUTOFF_DAYS type error #1778 ### Security diff --git a/src/backend/impress/settings.py b/src/backend/impress/settings.py index 5f74d7d5..33228b05 100755 --- a/src/backend/impress/settings.py +++ b/src/backend/impress/settings.py @@ -453,7 +453,7 @@ class Base(Configuration): "REDOC_DIST": "SIDECAR", } - TRASHBIN_CUTOFF_DAYS = values.Value( + TRASHBIN_CUTOFF_DAYS = values.IntegerValue( 30, environ_name="TRASHBIN_CUTOFF_DAYS", environ_prefix=None )