forked from rDrama/rDrama
fdfd
parent
e2518a942a
commit
d7598af4ff
|
@ -43,7 +43,7 @@ def get_awards(v):
|
|||
for val in return_value:
|
||||
val['owned'] = len([x for x in user_awards if x.kind == val['kind'] and not x.given])
|
||||
|
||||
return return_value
|
||||
return jsonify(return_value)
|
||||
|
||||
|
||||
@app.put("/post/<pid>/awards")
|
||||
|
|
Loading…
Reference in New Issue