Re-enable browser notifications

This commit is contained in:
JonnyWong16 2018-01-17 17:01:44 -08:00
parent 32b43202c2
commit 3e51310511
6 changed files with 54 additions and 44 deletions

View file

@ -3126,8 +3126,7 @@ class WebInterface(object):
@cherrypy.tools.json_out()
@requireAuth(member_of("admin"))
def get_browser_notifications(self, **kwargs):
browser = notifiers.BROWSER()
result = browser.get_notifications()
result = notifiers.get_browser_notifications()
if result:
notifications = result['notifications']