Fix error when automatic user detection fails

This commit is contained in:
Dan Sosedoff
2019-01-28 14:03:45 -06:00
parent e6f6dbbddd
commit d48172986e
3 changed files with 32 additions and 8 deletions

View File

@@ -133,7 +133,7 @@ func Connect(c *gin.Context) {
}
opts := command.Options{Url: url}
url, err := connection.FormatUrl(opts)
url, err := connection.FormatURL(opts)
if err != nil {
badRequest(c, err)