Skip to content

Commit f93314f

Browse files
committed
Merge remote-tracking branch 'origin/melody-data-server-dev' into melody-data-server-dev
2 parents 103a394 + ca5fc85 commit f93314f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Diff for: encoding/json.go

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ func NewJSONDecoder(isCollection bool) func(io.Reader, *map[string]interface{})
1313
} else {
1414
return JSONDecoder()
1515
}
16-
17-
return nil
1816
}
1917

2018
func JSONDecoder() Decoder {

Diff for: proxy/http_response.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ func DefaultHTTPResponseParserFactory(cfg HTTPResponseParserConfig) HTTPResponse
3939
IsComplete: true,
4040
}
4141
response = cfg.EntityFormatter.Format(response)
42-
return &response, err
42+
return &response, nil
4343
}
4444
}

0 commit comments

Comments
 (0)