Reuse getApiDetails code
This commit is contained in:
parent
4b5dea8eed
commit
fc2f344141
12 changed files with 17 additions and 50 deletions
|
|
@ -63,7 +63,7 @@ function deriveApiUrl(githubUrl: string): string {
|
|||
return url.toString();
|
||||
}
|
||||
|
||||
function getApiDetails() {
|
||||
export function getApiDetails() {
|
||||
return {
|
||||
auth: getRequiredInput("token"),
|
||||
url: getRequiredEnvParam("GITHUB_SERVER_URL"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue