Skip to content

Commit 4fcf34a

Browse files
committed
Remove useless triple =
1 parent 1a3b6bd commit 4fcf34a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node/node.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class CodexNode {
5757
): Promise<SafeValue<CodexSpr<CodexSprContentType>>> {
5858
const url = this.url + Api.config.prefix + "/spr";
5959

60-
if (type === "json") {
60+
if (type == "json") {
6161
return Fetch.safeJson<CodexSprJsonResponse>(url, {
6262
method: "GET",
6363
headers: {
@@ -84,7 +84,7 @@ export class CodexNode {
8484
): Promise<SafeValue<CodexPeerId<CodexPeerIdContentType>>> {
8585
const url = this.url + Api.config.prefix + "/node/peerid";
8686

87-
if (type === "json") {
87+
if (type == "json") {
8888
return Fetch.safeJson<CodexPeerIdJsonResponse>(url, {
8989
method: "GET",
9090
headers: {

0 commit comments

Comments
 (0)