Commit 3ca085f0 authored by John Red Medrano's avatar John Red Medrano

testing

parent ac5ce2e0
...@@ -26,7 +26,7 @@ app_id = config['SETTINGS']['app_id'], ...@@ -26,7 +26,7 @@ app_id = config['SETTINGS']['app_id'],
key = config['SETTINGS']['key'] key = config['SETTINGS']['key']
secret = config['SETTINGS']['secret'] secret = config['SETTINGS']['secret']
cluster = config['SETTINGS']['cluster'] cluster = config['SETTINGS']['cluster']
ssl = True if config['SETTINGS']['ssl'] == 1 else False # ssl = True if config['SETTINGS']['ssl'] == 1 else False
cms_notification = config['SETTINGS']['cms_notification'] cms_notification = config['SETTINGS']['cms_notification']
...@@ -36,7 +36,7 @@ def rms_websocket(my_channel, my_event, msg): ...@@ -36,7 +36,7 @@ def rms_websocket(my_channel, my_event, msg):
key=key, key=key,
secret=secret, secret=secret,
cluster=cluster, cluster=cluster,
ssl=ssl ssl=True
) )
pusher_client.trigger( pusher_client.trigger(
...@@ -246,7 +246,8 @@ def notification_create(form_code, message, account_no, ...@@ -246,7 +246,8 @@ def notification_create(form_code, message, account_no,
else: else:
rms_websocket( rms_websocket(
ROOM, ROOM,
'NEW NOTIFICATIONS' 'NEW NOTIFICATIONS',
{"message": "NEW NOTIFICATION"}
) )
return True return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment