mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2025-06-05 21:59:23 +02:00
Various tweaks about AP types
This commit is contained in:
@ -31,7 +31,7 @@ class Object:
|
||||
|
||||
@cached_property
|
||||
def ap_type(self) -> str:
|
||||
return self.ap_object["type"]
|
||||
return ap.as_list(self.ap_object["type"])[0]
|
||||
|
||||
@property
|
||||
def ap_object(self) -> ap.RawObject:
|
||||
|
Reference in New Issue
Block a user