From 7e8cc22b0c6022d648df60a52a4a9496659ae16a Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Sun, 10 Mar 2024 14:19:43 +0100 Subject: chore: lint --- src/components/services/Rtorrent.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/components/services/Rtorrent.vue b/src/components/services/Rtorrent.vue index 59dd843..337b8cb 100644 --- a/src/components/services/Rtorrent.vue +++ b/src/components/services/Rtorrent.vue @@ -125,9 +125,8 @@ export default { const headers = { "Content-Type": "text/xml" }; if (this.item.username && this.item.password) { - headers[ - "Authorization" - ] = `${this.item.username}:${this.item.password}`; + headers["Authorization"] = + `${this.item.username}:${this.item.password}`; } return fetch(`${this.item.xmlrpc.replace(/\/$/, "")}/RPC2`, { -- cgit v1.2.3