forked from mirrors/bookwyrm
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
|
||||
published: str
|
||||
attributedTo: str
|
||||
tag: List[Link]
|
||||
to: List[str]
|
||||
cc: List[str]
|
||||
content: str
|
||||
replies: Dict
|
||||
tag: List[Link] = field(default=lambda: [])
|
||||
attachment: List[Image] = field(default=lambda: [])
|
||||
sensitive: bool = False
|
||||
type: str = 'Note'
|
||||
|
|
Loading…
Reference in a new issue