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
|
||||
} else {
|
||||
Verbose("soundcloud.NewRequest: " + err.Error())
|
||||
return nil, err
|
||||
return "", err
|
||||
}
|
||||
} else {
|
||||
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
|
||||
} else {
|
||||
Verbose("youtube.NewRequest: " + err.Error())
|
||||
return nil, err
|
||||
return "", err
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Reference in a new issue