mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-03 05:48:44 +00:00
Make tags optional in activitypub Notes
This commit is contained in:
parent
842291d729
commit
c6b8357c77
1 changed files with 1 additions and 1 deletions
|
@ -20,11 +20,11 @@ class Note(ActivityObject):
|
||||||
inReplyTo: str
|
inReplyTo: str
|
||||||
published: str
|
published: str
|
||||||
attributedTo: str
|
attributedTo: str
|
||||||
tag: List[Link]
|
|
||||||
to: List[str]
|
to: List[str]
|
||||||
cc: List[str]
|
cc: List[str]
|
||||||
content: str
|
content: str
|
||||||
replies: Dict
|
replies: Dict
|
||||||
|
tag: List[Link] = field(default=lambda: [])
|
||||||
attachment: List[Image] = field(default=lambda: [])
|
attachment: List[Image] = field(default=lambda: [])
|
||||||
sensitive: bool = False
|
sensitive: bool = False
|
||||||
type: str = 'Note'
|
type: str = 'Note'
|
||||||
|
|
Loading…
Reference in a new issue