Skip to content

Commit eac0a64

Browse files
authored
docs(perf): use upper case for HTTP method from Axios, as required by firebase (#8015)
1 parent e85bf83 commit eac0a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/perf/axios-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import perf from '@react-native-firebase/perf';
2222

2323
axios.interceptors.request.use(async function (config) {
2424
try {
25-
const httpMetric = perf().newHttpMetric(config.url, config.method);
25+
const httpMetric = perf().newHttpMetric(config.url, config.method.toUpperCase());
2626
config.metadata = { httpMetric };
2727

2828
// add any extra metric attributes, if required

0 commit comments

Comments
 (0)