Skip to content

Commit

Permalink
Merge pull request #11134 from vegaprotocol/11133
Browse files Browse the repository at this point in the history
fix: spot product resolver fixed
  • Loading branch information
ze97286 authored Apr 17, 2024
2 parents d1b1aa2 + 29b28c2 commit 5c94495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
- [11105](https://github.com/vegaprotocol/vega/issues/11105) - Include all paid fees in reward cap.
- [1109](https://github.com/vegaprotocol/core-test-coverage/issues/1109) - Correctly label acceptance coverage for `0042-LIQF-091`.
- [11130](https://github.com/vegaprotocol/vega/issues/11130) - Add missing initialisation for max stop orders in spots.
- [11133](https://github.com/vegaprotocol/vega/issues/11133) - Fix spot product resolver

## 0.75.0

Expand Down
2 changes: 1 addition & 1 deletion datanode/gateway/graphql/spot_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (r spotProductResolver) BaseAsset(ctx context.Context, obj *vega.SpotProduc
}

func (r spotProductResolver) QuoteAsset(ctx context.Context, obj *vega.SpotProduct) (*vega.Asset, error) {
return r.r.getAssetByID(ctx, obj.BaseAsset)
return r.r.getAssetByID(ctx, obj.QuoteAsset)
}

type updateSpotMarketResolver VegaResolverRoot
Expand Down

0 comments on commit 5c94495

Please sign in to comment.