Skip to content

Commit

Permalink
fix: fixed Basic authorization header
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Feb 21, 2023
1 parent f8c1075 commit 39079ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class ForwardEmailForwarder implements Forwarder {
cache: "no-store",
method: "POST",
headers: new Headers({
Authentication: options.apiKey,
Authorization: "Basic " + Buffer.from(options.apiKey + ":").toString("base64"),
"Content-Type": "application/json",
}),
};
Expand Down

0 comments on commit 39079ed

Please sign in to comment.