Skip to content
Snippets Groups Projects

Fix external account deletion through graphQL if no GitHub App accounts exist

Merged Warren Gifford requested to merge pjlast/github-app-delete-fix into main

Created by: pjlast

When a GitHub external account is deleted, but there are no corresponding GitHub App external accounts, the account list is empty, which causes a SQL error.

What this means is that you're unable to delete your normal GitHub external accounts.

This fixes that.

Test plan

Added test confirming the bug, then fixed it.

Merge request reports

Merged by avatar (Apr 22, 2025 5:57am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading