Skip to content

Commit

Permalink
Merge branch 'hotfix/sonarr-version'
Browse files Browse the repository at this point in the history
  • Loading branch information
anarqz committed Feb 6, 2020
2 parents 3d6ce0a + 6bd521f commit e5cd8d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions radarr/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ func createApiURL(c Config) string {
u.Path = "/api"
}

fmt.Println("The URL for Radarr is", u.String())

return u.String()
}

Expand Down
4 changes: 3 additions & 1 deletion sonarr/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ func createApiURL(c Config) string {
if c.URLBase != "" {
u.Path = fmt.Sprintf("%s/api", c.URLBase)
} else {
u.Path = "/api/v3"
u.Path = "/api"
}

fmt.Println("The URL for Sonarr is", u.String())

return u.String()
}

Expand Down

0 comments on commit e5cd8d9

Please sign in to comment.