Fix lint issue

This commit is contained in:
Pavel Djundik 2018-03-24 22:53:02 +02:00
parent d8eed4d15e
commit 1ddc617b79

View File

@ -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) {