Commit f37d3db2 authored by echel0n's avatar echel0n
Browse files

Fixed typo for API notification retrieval

parent 6ab4906d
# 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
......
......@@ -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)
......
Supports Markdown
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