changeset 88:298dac50ca73 default tip @

wokkel (pubsub): fix namespace in response of `subscriptionsGet`
author Goffi <goffi@goffi.org>
date Thu, 16 Mar 2023 11:57:02 +0100
parents 42cb377e3f3e
children
files sat_tmp/wokkel/pubsub.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_tmp/wokkel/pubsub.py	Mon May 16 14:21:11 2022 +0200
+++ b/sat_tmp/wokkel/pubsub.py	Thu Mar 16 11:57:02 2023 +0100
@@ -1686,7 +1686,7 @@
 
 
     def _toResponse_subscriptionsGet(self, result, resource, request):
-        response = domish.Element((NS_PUBSUB, 'pubsub'))
+        response = domish.Element((NS_PUBSUB_OWNER, 'pubsub'))
         subscriptions = response.addElement('subscriptions')
         subscriptions['node'] = request.nodeIdentifier
         for subscription in result: