api-error-fix #161

Merged
lash merged 2 commits from api-error-fix into master 2024-11-05 00:18:04 +01:00
Showing only changes of commit 92ea3df4aa - Show all commits

View File

@ -202,7 +202,6 @@ func doRequest(ctx context.Context, req *http.Request, rcpt any) (*api.OKRespons
if len(okResponse.Result) == 0 { if len(okResponse.Result) == 0 {
return nil, errors.New("Empty api result") return nil, errors.New("Empty api result")
} }
return &okResponse, nil
v, err := json.Marshal(okResponse.Result) v, err := json.Marshal(okResponse.Result)
if err != nil { if err != nil {