Skip to content

Commit

Permalink
Fix the api versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
petrvecera committed Apr 4, 2024
1 parent c897c73 commit 8ce0c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/src/coh3stats-api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8ce0c3c

Please sign in to comment.