Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Shershen committed Jan 17, 2024
2 parents e3b9f83 + 06fbf66 commit 40d8e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi_async_sqlalchemy/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(
)

async def dispatch(self, request: Request, call_next: RequestResponseEndpoint):
async with db(commit_on_exit=self.commit_on_exit):
async with DBSession(commit_on_exit=self.commit_on_exit):
return await call_next(request)

class DBSessionMeta(type):
Expand Down

0 comments on commit 40d8e1b

Please sign in to comment.