|
@@ -10,7 +10,6 @@ import (
|
|
|
)
|
|
|
|
|
|
func checkJSONError(msg myth.HTTPMessage) (jq *myth.JSONQuery, err error) {
|
|
|
-
|
|
|
if msg.StatusCode == 200 {
|
|
|
jq, err = msg.JSONQuery()
|
|
|
if err != nil {
|
|
@@ -59,7 +58,6 @@ func getBody(uri string) (msg myth.HTTPMessage, err error) {
|
|
|
if err != nil {
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
if msg.StatusCode == 200 {
|
|
|
jq := &myth.JSONQuery{}
|
|
|
jq, err = msg.JSONQuery()
|