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

Commit 8100c82

Browse files
[POA-617] fix: send correct API method to telemetry (#250)
1 parent 332ff31 commit 8100c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest/base_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (c BaseClient) GetWithQuery(ctx context.Context, path string, query url.Val
106106
func (c BaseClient) Post(ctx context.Context, path string, body interface{}, resp interface{}) (e error) {
107107
defer func() {
108108
if e != nil {
109-
reportError(http.MethodGet, path, e)
109+
reportError(http.MethodPost, path, e)
110110
}
111111
}()
112112

0 commit comments

Comments
 (0)