Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
3ca085f0
Commit
3ca085f0
authored
Mar 03, 2020
by
John Red Medrano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing
parent
ac5ce2e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
app/applicationlayer/utils.py
app/applicationlayer/utils.py
+4
-3
No files found.
app/applicationlayer/utils.py
View file @
3ca085f0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment