diff sat/plugins/plugin_comp_ap_gateway/http_server.py @ 3980:9b5092225e46

component AP gateway: fix pubsub attachment plugin call following renaming.
author Goffi <goffi@goffi.org>
date Tue, 15 Nov 2022 18:03:07 +0100
parents 6fa4ca0c047e
children acc9dfc8ba8d
line wrap: on
line diff
--- a/sat/plugins/plugin_comp_ap_gateway/http_server.py	Tue Nov 15 18:02:16 2022 +0100
+++ b/sat/plugins/plugin_comp_ap_gateway/http_server.py	Tue Nov 15 18:03:07 2022 +0100
@@ -470,7 +470,7 @@
                 found_item = found_items[0]
                 old_item_elt = found_item.data
 
-            item_elt = self.apg._pa.applySetHandler(
+            item_elt = await self.apg._pa.apply_set_handler(
                 client,
                 {"extra": attachment_data},
                 old_item_elt,