Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SiCKRAGE
sickrage
Commits
f37d3db2
Commit
f37d3db2
authored
Oct 17, 2018
by
echel0n
Browse files
Fixed typo for API notification retrieval
parent
6ab4906d
Changes
2
Hide whitespace changes
Inline
Side-by-side
changelog.md
View file @
f37d3db2
# Changelog
-
*
a7a330f - 2018-10-17: Release v9.3.96
-
*
5572dbd - 2018-10-17: Fixed typo for API notification retrieval
-
*
ed1b33e - 2018-10-17: Release v9.3.96
-
*
ecb1600 - 2018-10-17: Fixed setting caps issue when searching newznab providers
-
*
bbbc6cb - 2018-10-17: Fixed
'
Notification
'
object has no attribute
'
type
'
issue.
-
*
aad016d - 2018-10-16: Release v9.3.95
...
...
sickrage/core/webserver/api.py
View file @
f37d3db2
...
...
@@ -1432,7 +1432,7 @@ class CMD_SiCKRAGEGetMessages(ApiCall):
messages
=
[]
for
cur_notification
in
sickrage
.
app
.
alerts
.
get_notifications
(
self
.
request
.
remote_ip
):
messages
.
append
({
"title"
:
cur_notification
.
data
[
'title'
],
"message"
:
cur_notification
.
data
[
'
message
'
],
"message"
:
cur_notification
.
data
[
'
body
'
],
"type"
:
cur_notification
.
data
[
'type'
]})
return
_responds
(
RESULT_SUCCESS
,
messages
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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