From eac0a644bce59fa37d9e759cf240c5d77ff1ec94 Mon Sep 17 00:00:00 2001 From: Rohit Bansal <40559587+Rohit3523@users.noreply.github.com> Date: Sun, 27 Oct 2024 03:27:58 +0530 Subject: [PATCH] docs(perf): use upper case for HTTP method from Axios, as required by firebase (#8015) --- docs/perf/axios-integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/perf/axios-integration.md b/docs/perf/axios-integration.md index 4b6ce52a82..2e880b62d5 100644 --- a/docs/perf/axios-integration.md +++ b/docs/perf/axios-integration.md @@ -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