diff --git a/cmd/substitute_server/substitute.go b/cmd/substitute_server/substitute.go index 938b04d..04ef944 100644 --- a/cmd/substitute_server/substitute.go +++ b/cmd/substitute_server/substitute.go @@ -298,7 +298,7 @@ func (c *Client) login() (err error) { return fmt.Errorf("authservers_down") } - c.ID, err = uuid.FromString(resp.ID) + c.ID, err = uuid.Parse(resp.ID) if err != nil { return fmt.Errorf("authservers_down") } diff --git a/go.mod b/go.mod index 486a813..9b5550b 100644 --- a/go.mod +++ b/go.mod @@ -4,5 +4,5 @@ go 1.12 require ( github.com/google/uuid v1.1.1 - github.com/mattn/go-colorable v0.1.2 // indirect + github.com/mattn/go-colorable v0.1.2 )