File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ func (c *AzureDevopsClient) rest() *resty.Client {
9696 if c .restClient == nil {
9797 c .restClient = resty .New ()
9898 if c .HostUrl != nil {
99- c .restClient .SetHostURL (* c .HostUrl )
99+ c .restClient .SetHostURL (* c .HostUrl + "/" + * c . organization + "/" )
100100 } else {
101101 c .restClient .SetHostURL (fmt .Sprintf ("https://dev.azure.com/%v/" , * c .organization ))
102102 }
@@ -115,7 +115,7 @@ func (c *AzureDevopsClient) restVsrm() *resty.Client {
115115 if c .restClientVsrm == nil {
116116 c .restClientVsrm = resty .New ()
117117 if c .HostUrl != nil {
118- c .restClientVsrm .SetHostURL (* c .HostUrl )
118+ c .restClientVsrm .SetHostURL (* c .HostUrl + "/" + * c . organization + "/" )
119119 } else {
120120 c .restClientVsrm .SetHostURL (fmt .Sprintf ("https://vsrm.dev.azure.com/%v/" , * c .organization ))
121121 }
You can’t perform that action at this time.
0 commit comments