diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec90864..5813e09 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,7 @@ name: testing on: + push: pull_request: branches: [master] workflow_dispatch: diff --git a/server.go b/server.go index bcf8b90..3ed5e41 100644 --- a/server.go +++ b/server.go @@ -117,10 +117,12 @@ func (c *Client) GetServerInfo() (Server, error) { return Server{}, err } - err = json.Unmarshal(resp.Response, &server) - if err != nil { - return Server{}, fmt.Errorf("failed to unmarshall response body. error: %w", err) - } + fmt.Println(resp.Response) + + // err = json.Unmarshal(resp.Response, &server) + // if err != nil { + // return Server{}, fmt.Errorf("failed to unmarshall response body. error: %w", err) + // } return server, nil }