Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
devksingh4 committed Sep 6, 2024
1 parent 4caf4a6 commit acde44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/util/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def recruiter_perform_search():
urls = []
try:
data = MassDownloadResumesRequest(**json_body).model_dump()
if len(keys) > 10:
if len(urls) > 10:
logger.info("Using asyncio loop")
keys = [f"resume_{username}.pdf" for username in data['usernames']]
urls = asyncio.run(async_generate_presigned_urls(S3_BUCKET, keys))
Expand Down

0 comments on commit acde44b

Please sign in to comment.