Fix lint issue
This commit is contained in:
parent
d8eed4d15e
commit
1ddc617b79
@ -284,7 +284,7 @@ function emitPreview(client, msg, preview) {
|
|||||||
function getRequestHeaders(headers) {
|
function getRequestHeaders(headers) {
|
||||||
const formattedHeaders = {
|
const formattedHeaders = {
|
||||||
"User-Agent": "Mozilla/5.0 (compatible; The Lounge IRC Client; +https://github.com/thelounge/thelounge)",
|
"User-Agent": "Mozilla/5.0 (compatible; The Lounge IRC Client; +https://github.com/thelounge/thelounge)",
|
||||||
Accept: headers.accept || "*/*",
|
"Accept": headers.accept || "*/*",
|
||||||
};
|
};
|
||||||
|
|
||||||
if (headers.language) {
|
if (headers.language) {
|
||||||
|
Loading…
Reference in New Issue
Block a user