1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

Revert "Change website default value to empty string. (#9127)" (#9437)

This reverts commit c37006c564.
This commit is contained in:
✨ Audrey ✨ 2024-05-30 14:16:32 -04:00 committed by GitHub
parent c37006c564
commit d0914ac81f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View File

@ -14,8 +14,6 @@ export class FastmailForwarder implements Forwarder {
throw "Unable to obtain Fastmail masked email account ID.";
}
const forDomain = (options.website || "");
const requestInit: RequestInit = {
redirect: "manual",
cache: "no-store",
@ -37,7 +35,7 @@ export class FastmailForwarder implements Forwarder {
"new-masked-email": {
state: "enabled",
description: "",
forDomain: forDomain,
forDomain: options.website,
emailPrefix: options.fastmail.prefix,
},
},

View File

@ -12,7 +12,7 @@ import { Forwarders } from "../options/constants";
import { EmailPrefixOptions, ApiOptions } from "../options/forwarder-options";
export const DefaultFastmailOptions: ApiOptions & EmailPrefixOptions = Object.freeze({
website: "",
website: null,
domain: "",
prefix: "",
token: "",