Rename Image to Document

This commit is contained in:
Mouse Reeve
2021-04-15 16:35:04 -07:00
parent 2f493336ad
commit 220fb926c9
7 changed files with 10 additions and 10 deletions

View File

@ -4,7 +4,7 @@ from typing import Dict, List
from django.apps import apps
from .base_activity import ActivityObject, Link
from .image import Image
from .image import Document
@dataclass(init=False)
@ -32,7 +32,7 @@ class Note(ActivityObject):
inReplyTo: str = ""
summary: str = ""
tag: List[Link] = field(default_factory=lambda: [])
attachment: List[Image] = field(default_factory=lambda: [])
attachment: List[Document] = field(default_factory=lambda: [])
sensitive: bool = False
type: str = "Note"