forked from mirrors/bookwyrm
Use None instead of empty string for activitypub null value
This commit is contained in:
parent
7544647b5b
commit
4f94d99c88
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ class Note(ActivityObject):
|
|||
to: List[str] = field(default_factory=lambda: [])
|
||||
cc: List[str] = field(default_factory=lambda: [])
|
||||
replies: Dict = field(default_factory=lambda: {})
|
||||
inReplyTo: str = ""
|
||||
summary: str = ""
|
||||
inReplyTo: str = None
|
||||
summary: str = None
|
||||
tag: List[Link] = field(default_factory=lambda: [])
|
||||
attachment: List[Document] = field(default_factory=lambda: [])
|
||||
sensitive: bool = False
|
||||
|
|
Loading…
Reference in a new issue