Skip to content

Commit

Permalink
refactor: change amount param type from int32 to uint64
Browse files Browse the repository at this point in the history
  • Loading branch information
Halimao committed Jan 5, 2025
1 parent d6ad1fc commit c8dc93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ type DefaultApiQuoteGetOpts struct {
PreferLiquidDexes optional.Bool
}

func (a *DefaultApiService) QuoteGet(ctx context.Context, inputMint string, outputMint string, amount int32, localVarOptionals *DefaultApiQuoteGetOpts) (QuoteResponse, *http.Response, error) {
func (a *DefaultApiService) QuoteGet(ctx context.Context, inputMint string, outputMint string, amount uint64, localVarOptionals *DefaultApiQuoteGetOpts) (QuoteResponse, *http.Response, error) {
var (
localVarHttpMethod = strings.ToUpper("Get")
localVarPostBody interface{}
Expand Down

0 comments on commit c8dc93c

Please sign in to comment.