Skip to content

Commit 30c460a

Browse files
committedFeb 11, 2025·
remove logs
1 parent ae703d6 commit 30c460a

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed
 

‎pkg/api/nft_converters.go

-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import (
55
"encoding/json"
66
"errors"
77
"fmt"
8-
"go.uber.org/zap"
9-
108
"github.com/tonkeeper/opentonapi/internal/g"
119
"github.com/tonkeeper/opentonapi/pkg/bath"
1210
imgGenerator "github.com/tonkeeper/opentonapi/pkg/image"
@@ -79,7 +77,6 @@ func (h *Handler) convertNFT(ctx context.Context, item core.NftItem, book addres
7977
nftItem.Trust = oas.TrustType(core.TrustWhitelist)
8078
} else {
8179
nftTrust := h.spamFilter.NftTrust(item.Address, item.CollectionAddress, description, image)
82-
h.logger.Warn("convertNft", zap.String("account id", item.Address.ToRaw()), zap.String("nftTrust", string(nftTrust)))
8380
if nftTrust == core.TrustNone && trustType != "" {
8481
nftTrust = trustType
8582
}

‎pkg/api/nft_handlers.go

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ func (h *Handler) GetNftItemByAddress(ctx context.Context, params oas.GetNftItem
7272
return nil, toError(http.StatusNotFound, fmt.Errorf("item not found"))
7373
}
7474
nftScamData, err := h.spamFilter.GetNftsScamData(ctx, []ton.AccountID{account.ID})
75-
h.logger.Warn("GetNftsScamData", zap.Error(err), zap.String("account id", account.ID.ToRaw()), zap.String("value", string(nftScamData[account.ID])))
7675
if err != nil {
7776
h.logger.Warn("error getting nft scam data", zap.Error(err))
7877
}

0 commit comments

Comments
 (0)
Please sign in to comment.