mirror of
https://github.com/gfleury/go-bitbucket-v1.git
synced 2025-05-20 20:24:34 -05:00
Fix endpoint path
This commit is contained in:
parent
23c70d2142
commit
dc293425f5
@ -3865,7 +3865,7 @@ func (a *DefaultApiService) getContentWithPath(projectKey string, repositorySlug
|
|||||||
)
|
)
|
||||||
|
|
||||||
// create path and map variables
|
// create path and map variables
|
||||||
localVarPath := a.client.cfg.BasePath + "/api/1.0/projects/{projectKey}/repos/{repositorySlug}/browse{path}"
|
localVarPath := a.client.cfg.BasePath + "/api/1.0/projects/{projectKey}/repos/{repositorySlug}/browse"
|
||||||
localVarPath = strings.Replace(localVarPath, "{"+"projectKey"+"}", fmt.Sprintf("%v", projectKey), -1)
|
localVarPath = strings.Replace(localVarPath, "{"+"projectKey"+"}", fmt.Sprintf("%v", projectKey), -1)
|
||||||
localVarPath = strings.Replace(localVarPath, "{"+"repositorySlug"+"}", fmt.Sprintf("%v", repositorySlug), -1)
|
localVarPath = strings.Replace(localVarPath, "{"+"repositorySlug"+"}", fmt.Sprintf("%v", repositorySlug), -1)
|
||||||
if path != "" {
|
if path != "" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user