diff --git a/src/renderer/utils/auth/utils.test.ts b/src/renderer/utils/auth/utils.test.ts index deb736b04..2b2f36122 100644 --- a/src/renderer/utils/auth/utils.test.ts +++ b/src/renderer/utils/auth/utils.test.ts @@ -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({ diff --git a/src/renderer/utils/auth/utils.ts b/src/renderer/utils/auth/utils.ts index 22d114ac4..6dac54657 100644 --- a/src/renderer/utils/auth/utils.ts +++ b/src/renderer/utils/auth/utils.ts @@ -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';