Skip to content

Commit

Permalink
Add missing dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
emdoyle committed Aug 21, 2024
1 parent 3e02b45 commit c18daf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def get_user(request: Request, db: AsyncSession = Depends(get_db)) -> User


async def get_total_services_deployed_for_user(
user: User, db: AsyncSession = Depends(get_db)
user: User = Depends(get_user), db: AsyncSession = Depends(get_db)
) -> int:
async with db as session:
query = (
Expand Down

0 comments on commit c18daf3

Please sign in to comment.