diff --git a/api/routes/api.py b/api/routes/api.py index be6f945..51c2feb 100644 --- a/api/routes/api.py +++ b/api/routes/api.py @@ -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: