Skip to content

Commit 0997a6e

Browse files
authored
fix: github app url (#1698)
Signed-off-by: Adam Setch <[email protected]>
1 parent 5d554e5 commit 0997a6e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/renderer/utils/auth/utils.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ describe('renderer/utils/auth/utils.ts', () => {
283283
hostname: 'github.com' as Hostname,
284284
method: 'GitHub App',
285285
} as Account),
286-
).toBe('https://github.com/settings/apps');
286+
).toBe(
287+
'https://github.com/settings/connections/applications/27a352516d3341cee376',
288+
);
287289

288290
expect(
289291
auth.getDeveloperSettingsURL({

src/renderer/utils/auth/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ export function getDeveloperSettingsURL(account: Account): Link {
201201

202202
switch (account.method) {
203203
case 'GitHub App':
204-
settingsURL.pathname = '/settings/apps';
204+
settingsURL.pathname =
205+
'/settings/connections/applications/27a352516d3341cee376';
205206
break;
206207
case 'OAuth App':
207208
settingsURL.pathname = '/settings/developers';

0 commit comments

Comments
 (0)