Set default media_type and language of notification in api

parent 37839cce
......@@ -54,7 +54,7 @@ class Api:
return self.notifications.get_all_rendered(media_type, lang)
def get_rendered_notification(self, msgid, media_type, lang, force_media_type=False):
def get_rendered_notification(self, msgid, media_type='plain', lang='en', force_media_type=False):
"""Get rendered notification of specific media type by id"""
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