Skip to content

Commit

Permalink
fix the handler pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhar-petukhov committed Oct 8, 2024
1 parent 9eb1358 commit baf18a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/jetton_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func (h *Handler) GetJettonTransferPayload(ctx context.Context, params oas.GetJe
return &res, nil
}

func (h Handler) GetJettonInfosByAddresses(ctx context.Context, request oas.OptGetJettonInfosByAddressesReq) (*oas.Jettons, error) {
func (h *Handler) GetJettonInfosByAddresses(ctx context.Context, request oas.OptGetJettonInfosByAddressesReq) (*oas.Jettons, error) {
if len(request.Value.AccountIds) == 0 {
return nil, toError(http.StatusBadRequest, fmt.Errorf("empty list of ids"))
}
Expand Down

0 comments on commit baf18a3

Please sign in to comment.