Skip to content

Commit

Permalink
Merge pull request #189 from BuxOrg/fix/ChangeMethods
Browse files Browse the repository at this point in the history
BUX-521: inspect errors in methods
  • Loading branch information
Nazarii-4chain authored Feb 5, 2024
2 parents f8453fa + 9188fe0 commit 77c98ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transports/http_admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func (h *TransportHTTP) adminGetModels(ctx context.Context, conditions map[strin
}

if err := h.doHTTPRequest(
ctx, http.MethodGet, path, jsonStr, h.xPriv, true, &models,
ctx, http.MethodPost, path, jsonStr, h.xPriv, true, &models,
); err != nil {
return err
}
Expand Down

0 comments on commit 77c98ae

Please sign in to comment.