diff --git a/app/models.py b/app/models.py index 9b4a856..9b3e2ed 100644 --- a/app/models.py +++ b/app/models.py @@ -61,7 +61,7 @@ class InboxObject(Base): ap_id: Mapped[str] = Column(String, nullable=False, unique=True, index=True) # type: ignore ap_context = Column(String, nullable=True) ap_published_at = Column(DateTime(timezone=True), nullable=False) - ap_object: Mapped[dict[str, Any]] = Column(JSON, nullable=False) # type: ignore + ap_object: Mapped[dict[str, Any] | None] = Column(JSON, nullable=False) # type: ignore activity_object_ap_id = Column(String, nullable=True, index=True) visibility = Column(Enum(ap.VisibilityEnum), nullable=False)