Skip to content

Commit

Permalink
docs(perf): use upper case for HTTP method from Axios, as required by…
Browse files Browse the repository at this point in the history
… firebase (#8015)
  • Loading branch information
Rohit3523 authored Oct 26, 2024
1 parent e85bf83 commit eac0a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/perf/axios-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import perf from '@react-native-firebase/perf';

axios.interceptors.request.use(async function (config) {
try {
const httpMetric = perf().newHttpMetric(config.url, config.method);
const httpMetric = perf().newHttpMetric(config.url, config.method.toUpperCase());
config.metadata = { httpMetric };

// add any extra metric attributes, if required
Expand Down

0 comments on commit eac0a64

Please sign in to comment.