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://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=15c383353bf804daf55900711b00ff4ee2f71269;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,