Fix bug where langs incorrectly determined in smapi

This commit is contained in:
simojenki
2021-08-16 23:46:47 +10:00
parent 432248fb47
commit 3545d9c653
2 changed files with 3 additions and 3 deletions

View File

@@ -758,7 +758,7 @@ describe("api", () => {
describe("when an accept-language header is present with value nl-NL", () => {
it("should return nl-NL", async () => {
ws.addHttpHeader("accept-language", "nl-NL")
ws.addHttpHeader("accept-language", "nl-NL, en-US;q=0.9")
const root = await ws.getMetadataAsync({
id: "root",
index: 0,