fix(core): Fix OAuth credential creation via API (#5064)

* fix(core): Fix OAuth credential creation via API

* Fix tests
This commit is contained in:
Jan Oberhauser
2023-01-05 07:06:37 -06:00
committed by GitHub
parent 62b2fc37c3
commit 93da026c0d
3 changed files with 21 additions and 1 deletions

View File

@@ -206,18 +206,21 @@ export function gitHubCredentialType(): ICredentialType {
name: 'server',
type: 'string',
default: 'https://api.github.com',
required: true,
description: 'The server to connect to. Only has to be set if Github Enterprise is used.',
},
{
displayName: 'User',
name: 'user',
type: 'string',
required: true,
default: '',
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string',
required: true,
default: '',
},
],