Skip to content

Commit

Permalink
logins: Connect to writer for do_refresh_dev_flatpaks
Browse files Browse the repository at this point in the history
  • Loading branch information
barthalion committed Jan 27, 2025
1 parent b6756d9 commit 84156aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/logins.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ def do_refresh_dev_flatpaks(
) -> RefreshDevFlatpaksReturn:
user = login.user

with get_db("replica") as db:
with get_db("writer") as db:
account = models.GithubAccount.by_user(db, user)

# We need to have a github account to refresh dev flatpaks
Expand Down

0 comments on commit 84156aa

Please sign in to comment.