##// END OF EJS Templates
Fixed notifications API
neko259 -
r1445:dffd06eb default
parent child Browse files
Show More
@@ -219,7 +219,7 def api_get_notifications(request, usern
219 last_notification_id_str = request.GET.get('last', None)
219 last_notification_id_str = request.GET.get('last', None)
220 last_id = int(last_notification_id_str) if last_notification_id_str is not None else None
220 last_id = int(last_notification_id_str) if last_notification_id_str is not None else None
221
221
222 posts = Notification.objects.get_notification_posts(username=username,
222 posts = Notification.objects.get_notification_posts(usernames=[username],
223 last=last_id)
223 last=last_id)
224
224
225 json_post_list = []
225 json_post_list = []
General Comments 0
You need to be logged in to leave comments. Login now