Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Sep 24, 2024
1 parent 0f0146d commit 187bf77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mwdb/resources/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ def post(self):
db.session.flush()
db.session.refresh(group)

provider.group_id = group.id
db.session.add(provider)
provider_settings.group_id = group.id
db.session.add(provider_settings)
db.session.commit()
hooks.on_created_group(group)

Expand Down

0 comments on commit 187bf77

Please sign in to comment.