summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
Diffstat (limited to 'lcm')
-rw-r--r--lcm/lcm/pub/utils/notificationsutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/pub/utils/notificationsutil.py b/lcm/lcm/pub/utils/notificationsutil.py
index 8a38fd62..6b7c791f 100644
--- a/lcm/lcm/pub/utils/notificationsutil.py
+++ b/lcm/lcm/pub/utils/notificationsutil.py
@@ -61,7 +61,7 @@ class NotificationsUtil(object):
}
callbackUri = subscription.callback_uri
auth_info = json.loads(subscription.auth_info)
- if auth_info["authType"] != const.OAUTH2_CLIENT_CREDENTIALS:
+ if const.BASIC in auth_info["authType"]:
try:
self.post_notification(callbackUri, auth_info, notification)
except Exception as e: