Skip to content

Commit

Permalink
change eventName fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtsolovey committed Nov 28, 2023
1 parent d53ca0a commit 69dde62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions template.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,7 @@ function sendRequest(url, requestOptions, postBody) {
Name: 'HTTPLookup',
Type: 'Request',
TraceId: traceId,
EventName: 'purchase',
//TODO: change event name
EventName: 'HttpLookupRequest',
RequestMethod: data.requestMethod,
RequestUrl: url,
RequestBody: postBody,
Expand All @@ -400,7 +399,7 @@ function sendRequest(url, requestOptions, postBody) {
Name: 'HTTPLookup',
Type: 'Response',
TraceId: traceId,
EventName: 'CreateOrUpdateContact',
EventName: 'HttpLookupRequest',
ResponseStatusCode: successResult.statusCode,
ResponseHeaders: successResult.headers,
ResponseBody: successResult.body,
Expand Down

0 comments on commit 69dde62

Please sign in to comment.