forked from rDrama/rDrama
sdf
parent
3be6ce1a15
commit
a98af997e3
|
@ -127,6 +127,7 @@ def notifications(v):
|
||||||
all.add(c.id)
|
all.add(c.id)
|
||||||
listing.append(c)
|
listing.append(c)
|
||||||
|
|
||||||
|
all = all | set([x.id for x in comments]) | set([x.id for x in listing])
|
||||||
comments = get_comments(all, v=v)
|
comments = get_comments(all, v=v)
|
||||||
|
|
||||||
if request.headers.get("Authorization"): return {"data":[x.json for x in listing]}
|
if request.headers.get("Authorization"): return {"data":[x.json for x in listing]}
|
||||||
|
|
Loading…
Reference in New Issue