From 15c383353bf804daf55900711b00ff4ee2f71269 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 9 Sep 2025 11:19:22 +0200 Subject: [PATCH] Add empty highlight field to sponsor scanning response There will never be one, but we need an empty array for the client. --- postgresqleu/confsponsor/scanning.py | 1 + 1 file changed, 1 insertion(+) diff --git a/postgresqleu/confsponsor/scanning.py b/postgresqleu/confsponsor/scanning.py index e519ad09..cc12792f 100644 --- a/postgresqleu/confsponsor/scanning.py +++ b/postgresqleu/confsponsor/scanning.py @@ -258,6 +258,7 @@ def _json_response(reg, status, existingnote='', message=''): 'email': reg.email, 'note': existingnote, 'token': reg.publictoken, + 'highlight': [], }, 'message': message, 'showfields': False, -- 2.39.5