Skip to content

Commit

Permalink
Merge pull request #32 from Significant-Gravitas/fix/missed-await
Browse files Browse the repository at this point in the history
fix: missed await in calling generate requirements
  • Loading branch information
ntindle authored Feb 15, 2024
2 parents 14fb3c5 + 62106be commit 37442d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codex/requirements/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def create_spec(user_id: int, app_id: int, description: str):
app = await codex.database.get_app_by_id(user_id, app_id)
ids = Indentifiers(user_id=user_id, app_id=app_id)

spec = generate_requirements(ids, app.name, description)
spec = await generate_requirements(ids, app.name, description)
return SpecificationResponse.from_specification(spec)
except Exception as e:
return Response(
Expand Down

0 comments on commit 37442d3

Please sign in to comment.