Skip to content

Commit

Permalink
Fix: (refs #183) routes/api> render_results> encode public_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Cj-bc committed Sep 12, 2018
1 parent 6d3cb10 commit e201e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/routes/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ def public_id_generator(lottery, kind):
"""
for app in lottery.application:
if app.status == 'won' and app.user.kind == kind:
yield app.user.public_id
yield encode_public_id(app.user.public_id)

# 1.
try:
Expand Down

0 comments on commit e201e89

Please sign in to comment.