remove problematic data
This commit is contained in:
parent
d6f5199acd
commit
d032c842d5
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
jsonResponse, err = json.MarshalIndent(&apiResponse{
|
jsonResponse, err = json.MarshalIndent(&apiResponse{
|
||||||
Success: false,
|
Success: false,
|
||||||
Error: util.PtrToString(err.Error()),
|
Error: util.PtrToString(err.Error()),
|
||||||
Data: rsp.Data,
|
Data: nil,
|
||||||
Trace: getTraceFromError(err),
|
Trace: getTraceFromError(err),
|
||||||
}, "", " ")
|
}, "", " ")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue