Actually fix AP object URL prop

This commit is contained in:
Thomas Sileo 2022-07-19 20:56:54 +02:00
parent 61a152f2b7
commit dedeac994f

View file

@ -129,7 +129,7 @@ class Object:
if u["mediaType"] == "text/html": if u["mediaType"] == "text/html":
return u["href"] return u["href"]
return None return self.ap_id
@cached_property @cached_property
def content(self) -> str | None: def content(self) -> str | None: