Show More
@@ -213,7 +213,7 b' def api_get_notifications(request, usern' | |||||
213 | last_notification_id_str = request.GET.get('last', None) |
|
213 | last_notification_id_str = request.GET.get('last', None) | |
214 | last_id = int(last_notification_id_str) if last_notification_id_str is not None else None |
|
214 | last_id = int(last_notification_id_str) if last_notification_id_str is not None else None | |
215 |
|
215 | |||
216 | posts = Notification.objects.get_notification_posts(usernames=username, |
|
216 | posts = Notification.objects.get_notification_posts(usernames=[username], | |
217 | last=last_id) |
|
217 | last=last_id) | |
218 |
|
218 | |||
219 | json_post_list = [] |
|
219 | json_post_list = [] |
General Comments 0
You need to be logged in to leave comments.
Login now