aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rates.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rates.ts')
-rw-r--r--lib/rates.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rates.ts b/lib/rates.ts
index dcb44464..74dfa50d 100644
--- a/lib/rates.ts
+++ b/lib/rates.ts
@@ -27,9 +27,7 @@ const connect = async () => {
try {
rates.IRT = (
- (await got(
- "https://api.nobitex.ir/v2/orderbook/BTCIRT",
- ).json()) as any
+ (await got("https://api.nobitex.ir/v2/orderbook/BTCIRT").json()) as any
).lastTradePrice;
} catch (e) {}