1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-04 18:37:45 +01:00

Update request headers sent to AnonAddy API. (#5565)

This commit is contained in:
Daniel Chateau 2023-06-14 16:59:29 -04:00 committed by GitHub
parent ed04907300
commit 9ed59c6fa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ export class AnonAddyForwarder implements Forwarder {
headers: new Headers({ headers: new Headers({
Authorization: "Bearer " + options.apiKey, Authorization: "Bearer " + options.apiKey,
"Content-Type": "application/json", "Content-Type": "application/json",
"X-Requested-With": "XMLHttpRequest",
}), }),
}; };
const url = "https://app.anonaddy.com/api/v1/aliases"; const url = "https://app.anonaddy.com/api/v1/aliases";