Skip to content

Commit

Permalink
docs & json field label
Browse files Browse the repository at this point in the history
  • Loading branch information
parodime committed Nov 12, 2024
1 parent 02e893b commit 1a32365
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions services/rfq/api/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ const docTemplate = `{
"expiration_window": {
"type": "integer"
},
"origin_amount": {
"origin_amount_exact": {
"type": "string"
},
"origin_chain_id": {
Expand Down Expand Up @@ -511,7 +511,7 @@ const docTemplate = `{
"expiration_window": {
"type": "integer"
},
"origin_amount": {
"origin_amount_exact": {
"type": "string"
},
"origin_chain_id": {
Expand Down
2 changes: 1 addition & 1 deletion services/rfq/api/model/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type QuoteData struct {
DestChainID int `json:"dest_chain_id"`
OriginTokenAddr string `json:"origin_token_addr"`
DestTokenAddr string `json:"dest_token_addr"`
OriginAmountExact string `json:"origin_amount"`
OriginAmountExact string `json:"origin_amount_exact"`
ExpirationWindow int64 `json:"expiration_window"`
DestAmount *string `json:"dest_amount"`
RelayerAddress *string `json:"relayer_address"`
Expand Down

0 comments on commit 1a32365

Please sign in to comment.