mirror of
https://github.com/logos-storage/logos-storage-js.git
synced 2026-01-02 13:33:07 +00:00
Remove useless triple =
This commit is contained in:
parent
1a3b6bd876
commit
4fcf34a136
@ -57,7 +57,7 @@ export class CodexNode {
|
||||
): Promise<SafeValue<CodexSpr<CodexSprContentType>>> {
|
||||
const url = this.url + Api.config.prefix + "/spr";
|
||||
|
||||
if (type === "json") {
|
||||
if (type == "json") {
|
||||
return Fetch.safeJson<CodexSprJsonResponse>(url, {
|
||||
method: "GET",
|
||||
headers: {
|
||||
@ -84,7 +84,7 @@ export class CodexNode {
|
||||
): Promise<SafeValue<CodexPeerId<CodexPeerIdContentType>>> {
|
||||
const url = this.url + Api.config.prefix + "/node/peerid";
|
||||
|
||||
if (type === "json") {
|
||||
if (type == "json") {
|
||||
return Fetch.safeJson<CodexPeerIdJsonResponse>(url, {
|
||||
method: "GET",
|
||||
headers: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user