Wrong API doc for notifications. fixes #191
This commit is contained in:
@@ -30,7 +30,7 @@ class CoreNotifier(Notification):
|
|||||||
addApiView('notification.markread', self.markAsRead, docs = {
|
addApiView('notification.markread', self.markAsRead, docs = {
|
||||||
'desc': 'Mark notifications as read',
|
'desc': 'Mark notifications as read',
|
||||||
'params': {
|
'params': {
|
||||||
'id': {'desc': 'Notification id you want to mark as read.', 'type': 'int (comma separated)'},
|
'ids': {'desc': 'Notification id you want to mark as read.', 'type': 'int (comma separated)'},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user