diff options
| author | Adam Soltys <[email protected]> | 2024-09-05 20:59:43 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-05 20:59:43 -0700 |
| commit | 80ae2ffb356a01da30c8c8d197cfc277a24674ef (patch) | |
| tree | dc9114f23f24fefafda01fba137ef163eda33086 /lib/rpc.ts | |
| parent | a12802e46139645731f0f42ddd0b423a1911c8b8 (diff) | |
| download | coinos-server-80ae2ffb356a01da30c8c8d197cfc277a24674ef.tar.gz coinos-server-80ae2ffb356a01da30c8c8d197cfc277a24674ef.zip | |
payments ts
Diffstat (limited to 'lib/rpc.ts')
| -rw-r--r-- | lib/rpc.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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), }, ); |
