From 9b6e5442339356d169685c37e9dcd101f46e921a Mon Sep 17 00:00:00 2001 From: Ruslan Rotaru Date: Wed, 18 Oct 2023 11:29:56 +0100 Subject: [PATCH] fixed IPFS pin ls endpoint --- internal/utils/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/types.go b/internal/utils/types.go index 04669bd..c00fd6a 100644 --- a/internal/utils/types.go +++ b/internal/utils/types.go @@ -3,7 +3,7 @@ package utils import "net/http" var DIR_LIST_ENDPOINT string = "/ipfs/api/v0/ls?arg=" -var PIN_LIST_ENDPOINT string = "/ipfs/api/v0/pin/ls" +var PIN_LIST_ENDPOINT string = "/ipfs/api/v0/pin/ls?stream=true" var CAT_ENDPOINT string = "/ipfs/api/v0/cat?arg=" var IPFS_PIN_ENDPOINT string = "/ipfs/api/v0/add" var HEADER_APP_JSON string = "application/json"