From c266172ec1a86ff8832089dadafe9764e0d2fe4d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 11 Oct 2024 18:21:38 +0100 Subject: [PATCH] Append --- person.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/person.py b/person.py index 9227216fa..bb3fdd2e3 100644 --- a/person.py +++ b/person.py @@ -1732,12 +1732,12 @@ def get_person_notes_endpoint(base_dir: str, nickname: str, domain: str, notes_text = get_person_notes(base_dir, nickname, domain, handle2) if not notes_text: continue - notes_json['items'] += { + notes_json['items'].append({ "id": actor + "/private_account_notes/" + handle2, "type": "Annotation", "bodyValue": notes_text, "target": handle2 - } + }) break return notes_json