From 80ae2ffb356a01da30c8c8d197cfc277a24674ef Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 5 Sep 2024 20:59:43 -0700 Subject: payments ts --- lib/rpc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rpc.ts') diff --git a/lib/rpc.ts b/lib/rpc.ts index bcf695a4..0346a3cd 100644 --- a/lib/rpc.ts +++ b/lib/rpc.ts @@ -1,6 +1,6 @@ import got from "got"; -export default ({ host, port, wallet, username, password })=> +export default ({ host, port, wallet, username, password }) => new Proxy( {}, { @@ -23,6 +23,6 @@ export default ({ host, port, wallet, username, password })=> }) .json() .then(({ result }) => result); - })((prop as string).toLowerCase(), ...params), + })((prop as any).toLowerCase(), ...params), }, ); -- cgit v1.2.3