Fixing build errors
This commit is contained in:
parent
46820b68ea
commit
d340781611
|
@ -62,7 +62,7 @@ func (sc SoundCloud) NewRequest(user *gumble.User, url string) (string, error) {
|
||||||
return playlist.Title(), nil
|
return playlist.Title(), nil
|
||||||
} else {
|
} else {
|
||||||
Verbose("soundcloud.NewRequest: " + err.Error())
|
Verbose("soundcloud.NewRequest: " + err.Error())
|
||||||
return nil, err
|
return "", err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return "", errors.New("NO_PLAYLIST_PERMISSION")
|
return "", errors.New("NO_PLAYLIST_PERMISSION")
|
||||||
|
|
|
@ -77,7 +77,7 @@ func (yt YouTube) NewRequest(user *gumble.User, url string) (string, error) {
|
||||||
return song.Title(), nil
|
return song.Title(), nil
|
||||||
} else {
|
} else {
|
||||||
Verbose("youtube.NewRequest: " + err.Error())
|
Verbose("youtube.NewRequest: " + err.Error())
|
||||||
return nil, err
|
return "", err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Reference in a new issue