Skip to content

Commit 1bb877e

Browse files
committed
feat: device code flow
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 4abbf62 commit 1bb877e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/renderer/__mocks__/account-mocks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const mockPersonalAccessTokenAccount: Account = {
2323
platform: 'GitHub Cloud',
2424
method: 'Personal Access Token',
2525
token: 'token-123-456' as Token,
26-
hostname: Constants.OAUTH_DEVICE_FLOW.hostname,
26+
hostname: 'github.com' as Hostname,
2727
user: mockGitifyUser,
2828
hasRequiredScopes: true,
2929
};
@@ -41,7 +41,7 @@ export const mockGitHubCloudAccount: Account = {
4141
platform: 'GitHub Cloud',
4242
method: 'Personal Access Token',
4343
token: 'token-123-456' as Token,
44-
hostname: Constants.OAUTH_DEVICE_FLOW.hostname,
44+
hostname: 'github.com' as Hostname,
4545
user: mockGitifyUser,
4646
version: 'latest',
4747
hasRequiredScopes: true,

0 commit comments

Comments
 (0)