From 6363acf30a063551976a1d6b3372d0f39cf208ee Mon Sep 17 00:00:00 2001 From: Vincent Kling Date: Fri, 28 Oct 2022 10:19:30 +0200 Subject: [PATCH] Add dont_change_updated_at to fetch_done --- core/admin/mailu/internal/views/fetch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/admin/mailu/internal/views/fetch.py b/core/admin/mailu/internal/views/fetch.py index ccd3a159..1945b9c7 100644 --- a/core/admin/mailu/internal/views/fetch.py +++ b/core/admin/mailu/internal/views/fetch.py @@ -27,6 +27,7 @@ def fetch_done(fetch_id): fetch = models.Fetch.query.get(fetch_id) or flask.abort(404) fetch.last_check = datetime.datetime.now() fetch.error_message = str(flask.request.get_json()) + fetch.dont_change_updated_at() models.db.session.add(fetch) models.db.session.commit() return ""