diff sat/plugins/plugin_comp_ap_gateway/events.py @ 4023:78b5f356900c

component AP gateway: handle attachments
author Goffi <goffi@goffi.org>
date Thu, 23 Mar 2023 15:42:21 +0100
parents 0aa7023dcd08
children 26c3e1bc7fb7
line wrap: on
line diff
--- a/sat/plugins/plugin_comp_ap_gateway/events.py	Thu Mar 23 15:39:48 2023 +0100
+++ b/sat/plugins/plugin_comp_ap_gateway/events.py	Thu Mar 23 15:42:21 2023 +0100
@@ -230,7 +230,7 @@
                             "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)