mirror of https://gitlab.com/bashrc2/epicyon
Append
parent
905f5c0e29
commit
c266172ec1
|
@ -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)
|
notes_text = get_person_notes(base_dir, nickname, domain, handle2)
|
||||||
if not notes_text:
|
if not notes_text:
|
||||||
continue
|
continue
|
||||||
notes_json['items'] += {
|
notes_json['items'].append({
|
||||||
"id": actor + "/private_account_notes/" + handle2,
|
"id": actor + "/private_account_notes/" + handle2,
|
||||||
"type": "Annotation",
|
"type": "Annotation",
|
||||||
"bodyValue": notes_text,
|
"bodyValue": notes_text,
|
||||||
"target": handle2
|
"target": handle2
|
||||||
}
|
})
|
||||||
break
|
break
|
||||||
return notes_json
|
return notes_json
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue