From 8ce0c3ce9feef5dfc081b547a6b1d7d1645eee65 Mon Sep 17 00:00:00 2001 From: Petr Vecera Date: Thu, 4 Apr 2024 12:53:55 +0200 Subject: [PATCH] Fix the api versioning --- __tests__/src/coh3stats-api.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/src/coh3stats-api.test.ts b/__tests__/src/coh3stats-api.test.ts index 72847b61..f1a57198 100644 --- a/__tests__/src/coh3stats-api.test.ts +++ b/__tests__/src/coh3stats-api.test.ts @@ -318,7 +318,7 @@ describe("coh3stats-api", () => { const response = await getStatsData(123, "now", "gameStats", "cache-key-4"); expect(global.fetch).toBeCalledWith( - "https://cache.coh3stats.com/getAnalysisStatsHttp?startDate=123&endDate=now&type=gameStats&v=v8&ock=cache-key-4", + "https://cache.coh3stats.com/getAnalysisStatsHttp?startDate=123&endDate=now&type=gameStats&v=v9&ock=cache-key-4", ); expect(response).toEqual(fakeStatsData);