From fd89099b01d9187a1ecb73597c901f711cf513bf Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 15 Aug 2023 01:51:08 +0100 Subject: [PATCH] feat: remove unnecessary header in info_stats.sh The commit removes an unnecessary header in the info_stats.sh file. The header was causing an issue with the API request. --- lgsm/modules/info_stats.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/modules/info_stats.sh b/lgsm/modules/info_stats.sh index f012efeb2..11a94c6a1 100644 --- a/lgsm/modules/info_stats.sh +++ b/lgsm/modules/info_stats.sh @@ -89,7 +89,7 @@ curl -X POST "https://www.google-analytics.com/mp/collect?api_secret=A-OzP02TSMW ] }" -curl -i -X POST https://stats.linuxgsm.com/api/event \ +curl -X POST https://stats.linuxgsm.com/api/event \ -H 'User-Agent: curl' \ -H 'Content-Type: application/json' \ --data "{\"name\":\"pageview\",