From 8ff03a6f8787f8a7a39e7d004cec515c2642ce05 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Fri, 7 May 2021 12:24:19 +0000 Subject: [PATCH] Trorent API: Fix return type of 'has' method --- api/torrent/src/IpcClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/torrent/src/IpcClient.ts b/api/torrent/src/IpcClient.ts index 23a8331..67e3703 100644 --- a/api/torrent/src/IpcClient.ts +++ b/api/torrent/src/IpcClient.ts @@ -59,7 +59,7 @@ export class IpcClient extends IpcClientS console.error(response.error); throw new Error("Failed to check if a torrent exists"); } - return response.data; + return response.data; } /**