Skip to content

Commit

Permalink
Add explicit db.commit
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelovilla committed Dec 17, 2024
1 parent 195789d commit 9038088
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ async def authenticate(self, request):
_namespace = api.get_namespace(db, name=namespace)
if _namespace is None:
api.create_namespace(db, name=namespace)
db.commit()

return schema.AuthenticationToken(
primary_namespace=username,
Expand Down

0 comments on commit 9038088

Please sign in to comment.