mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Fix bug where langs incorrectly determined in smapi
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user