configure upload URL when github_api_url is set

[#99533974]

Signed-off-by: Corbin Halliwill <challiwill@pivotal.io>
This commit is contained in:
Alex Suraci
2016-02-03 11:02:11 -08:00
committed by Corbin Halliwill
parent da17fb3d2f
commit 91b8f79018
3 changed files with 21 additions and 3 deletions

View File

@@ -4,9 +4,10 @@ type Source struct {
User string `json:"user"`
Repository string `json:"repository"`
GitHubAPIURL string `json:"github_api_url"`
AccessToken string `json:"access_token"`
Drafts bool `json:"drafts"`
GitHubAPIURL string `json:"github_api_url"`
GitHubUploadsURL string `json:"github_uploads_url"`
AccessToken string `json:"access_token"`
Drafts bool `json:"drafts"`
}
type CheckRequest struct {