Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

[POA-617] fix: send correct API method to telemetry #250

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rest/base_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (c BaseClient) GetWithQuery(ctx context.Context, path string, query url.Val
func (c BaseClient) Post(ctx context.Context, path string, body interface{}, resp interface{}) (e error) {
defer func() {
if e != nil {
reportError(http.MethodGet, path, e)
reportError(http.MethodPost, path, e)
}
}()

Expand Down