Skip to content

Commit

Permalink
fix bearer token code snippet for billable metric
Browse files Browse the repository at this point in the history
  • Loading branch information
sarkissianraffi authored and ansmonjol committed Jul 24, 2023
1 parent d70d82e commit b6d8552
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const getSnippets = (billableMetric?: CreateBillableMetricInput) => {
switch (aggregationType) {
case AggregationTypeEnum.CountAgg:
return `curl --location --request POST "${apiUrl}/api/v1/events" \\
--header "Authorization: Bearer $__YOUR_API_KEY__" \\
--header "Authorization: Bearer __YOUR_API_KEY__" \\
--header 'Content-Type: application/json' \\
--data-raw '{
"event": {
Expand Down

0 comments on commit b6d8552

Please sign in to comment.