Skip to content

Commit be38531

Browse files
committed
Fix price attributes. closes #26
1 parent bd4f075 commit be38531

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

price.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type APIResponseRelationshipsPrice struct {
3939
}
4040

4141
// PriceAPIResponse is the api response for one variant
42-
type PriceAPIResponse = ApiResponse[VariantAttributes, APIResponseRelationshipsPrice]
42+
type PriceAPIResponse = ApiResponse[PriceAttributes, APIResponseRelationshipsPrice]
4343

4444
// PricesAPIResponse is the api response for a list of variants.
45-
type PricesAPIResponse = ApiResponseList[VariantAttributes, APIResponseRelationshipsPrice]
45+
type PricesAPIResponse = ApiResponseList[PriceAttributes, APIResponseRelationshipsPrice]

0 commit comments

Comments
 (0)