From 4fcf34a13674a61e09ce67a44675b6e0f2f2099e Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 30 May 2025 15:45:22 +0200 Subject: [PATCH] Remove useless triple = --- src/node/node.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node/node.ts b/src/node/node.ts index c304166..e43c526 100644 --- a/src/node/node.ts +++ b/src/node/node.ts @@ -57,7 +57,7 @@ export class CodexNode { ): Promise>> { const url = this.url + Api.config.prefix + "/spr"; - if (type === "json") { + if (type == "json") { return Fetch.safeJson(url, { method: "GET", headers: { @@ -84,7 +84,7 @@ export class CodexNode { ): Promise>> { const url = this.url + Api.config.prefix + "/node/peerid"; - if (type === "json") { + if (type == "json") { return Fetch.safeJson(url, { method: "GET", headers: {