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'],
key = config['SETTINGS']['key']
secret = config['SETTINGS']['secret']
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']
......@@ -36,7 +36,7 @@ def rms_websocket(my_channel, my_event, msg):
key=key,
secret=secret,
cluster=cluster,
ssl=ssl
ssl=True
)
pusher_client.trigger(
......@@ -246,7 +246,8 @@ def notification_create(form_code, message, account_no,
else:
rms_websocket(
ROOM,
'NEW NOTIFICATIONS'
'NEW NOTIFICATIONS',
{"message": "NEW NOTIFICATION"}
)
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