From: Magnus Hagander Date: Tue, 9 Sep 2025 09:19:22 +0000 (+0200) Subject: Add empty highlight field to sponsor scanning response X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/static/gitweb.js?a=commitdiff_plain;p=pgeu-system.git Add empty highlight field to sponsor scanning response There will never be one, but we need an empty array for the client. --- 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,