1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00:00

Update Is-Prerelease header to be integer instead of string (#11909)

This commit is contained in:
Todd Martin
2024-11-07 16:00:48 -05:00
committed by GitHub
parent ec92f82501
commit f9098558a6

View File

@@ -1886,7 +1886,7 @@ export class ApiService implements ApiServiceAbstraction {
}); });
if (flagEnabled("prereleaseBuild")) { if (flagEnabled("prereleaseBuild")) {
headers.set("Is-Prerelease", "true"); headers.set("Is-Prerelease", "1");
} }
if (this.customUserAgent != null) { if (this.customUserAgent != null) {
headers.set("User-Agent", this.customUserAgent); headers.set("User-Agent", this.customUserAgent);