From dedeac994f3bb0b41954f829c734329dbdca7449 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 19 Jul 2022 20:56:54 +0200 Subject: [PATCH] Actually fix AP object URL prop --- app/ap_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ap_object.py b/app/ap_object.py index c998de2..2b986f0 100644 --- a/app/ap_object.py +++ b/app/ap_object.py @@ -129,7 +129,7 @@ class Object: if u["mediaType"] == "text/html": return u["href"] - return None + return self.ap_id @cached_property def content(self) -> str | None: