Skip to content

Commit

Permalink
fix: github app url
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Setch <[email protected]>
  • Loading branch information
setchy committed Dec 31, 2024
1 parent 447b21c commit 8a8e83d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/renderer/utils/auth/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ describe('renderer/utils/auth/utils.ts', () => {
hostname: 'github.com' as Hostname,
method: 'GitHub App',
} as Account),
).toBe('https://github.com/settings/apps');
).toBe(
'https://github.com/settings/connections/applications/27a352516d3341cee376',
);

expect(
auth.getDeveloperSettingsURL({
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/utils/auth/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ export function getDeveloperSettingsURL(account: Account): Link {

switch (account.method) {
case 'GitHub App':
settingsURL.pathname = '/settings/apps';
settingsURL.pathname =
'/settings/connections/applications/27a352516d3341cee376';
break;
case 'OAuth App':
settingsURL.pathname = '/settings/developers';
Expand Down

0 comments on commit 8a8e83d

Please sign in to comment.