component AP gateway: handle attachments
This commit is contained in:
parent
072f0cc723
commit
c3f97ec712
1 changed files with 168 additions and 97 deletions
|
|
@ -230,7 +230,7 @@ class APEvents:
|
|||
"value": ap_wc_value
|
||||
})
|
||||
|
||||
activity = self.apg.createActivity(
|
||||
activity = self.apg.create_activity(
|
||||
"Create" if is_new else "Update", url_actor, ap_object, activity_id=url_item
|
||||
)
|
||||
activity["@context"].append(AP_EVENTS_CONTEXT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue