Skip to content

Commit

Permalink
Updated beta to prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
trmartin4 committed Oct 21, 2024
1 parent d5ff3b7 commit 3427ea7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/common/src/platform/misc/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export type SharedFlags = {
showPasswordless?: boolean;
sdk?: boolean;
betaBuild?: boolean;
prereleaseBuild?: boolean;
};

// required to avoid linting errors when there are no flags
Expand Down
4 changes: 2 additions & 2 deletions libs/common/src/services/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1885,8 +1885,8 @@ export class ApiService implements ApiServiceAbstraction {
"Device-Type": this.deviceType,
});

if (flagEnabled("betaBuild")) {
headers.set("Is-Beta", "true");
if (flagEnabled("prereleaseBuild")) {
headers.set("Is-Prerelease", "true");

Check warning on line 1889 in libs/common/src/services/api.service.ts

View check run for this annotation

Codecov / codecov/patch

libs/common/src/services/api.service.ts#L1889

Added line #L1889 was not covered by tests
}
if (this.customUserAgent != null) {
headers.set("User-Agent", this.customUserAgent);

Check warning on line 1892 in libs/common/src/services/api.service.ts

View check run for this annotation

Codecov / codecov/patch

libs/common/src/services/api.service.ts#L1892

Added line #L1892 was not covered by tests
Expand Down

0 comments on commit 3427ea7

Please sign in to comment.