Skip to content

Commit

Permalink
Merge pull request #1477 from oeiber/patch-1
Browse files Browse the repository at this point in the history
Removing additional '&' in rawURL
  • Loading branch information
AlexxIT authored Nov 24, 2024
2 parents 194d1da + 5b53ca7 commit d7cdc8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/doorbird/backchannel.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func Dial(rawURL string) (*Client, error) {
user := u.User.Username()
pass, _ := u.User.Password()

rawURL = fmt.Sprintf("http://%s/bha-api/audio-transmit.cgi?http-user=%s&&http-password=%s", u.Host, user, pass)
rawURL = fmt.Sprintf("http://%s/bha-api/audio-transmit.cgi?http-user=%s&http-password=%s", u.Host, user, pass)

req, err := http.NewRequest("POST", rawURL, nil)
if err != nil {
Expand Down

0 comments on commit d7cdc8b

Please sign in to comment.