js linting

This commit is contained in:
Ben Phelps 2022-09-12 12:39:04 +03:00
parent cc0b4be50c
commit ea06fbe666

View File

@ -17,8 +17,7 @@ export default async function credentialedProxyHandler(req, res) {
if (widget.type === "coinmarketcap") {
headers["X-CMC_PRO_API_KEY"] = `${widget.key}`;
}
if(widget.type === "gotify"){
} else if (widget.type === "gotify") {
headers["X-gotify-Key"] = `${widget.key}`;
} else {
headers["X-API-Key"] = `${widget.key}`;