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

Commit

Permalink
[POA-617] fix: send correct API method to telemetry (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
mudit-postman authored Jan 18, 2024
1 parent 332ff31 commit 8100c82
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 8100c82

Please sign in to comment.