fix: options relations on GET variant (#532)
This commit is contained in:
committed by
GitHub
parent
9b0ca6e38c
commit
fc50aacde2
@@ -16,7 +16,7 @@ describe("Get variant by id", () => {
|
||||
it("calls get variant from variantSerice", () => {
|
||||
expect(ProductVariantServiceMock.retrieve).toHaveBeenCalledTimes(1)
|
||||
expect(ProductVariantServiceMock.retrieve).toHaveBeenCalledWith("1", {
|
||||
relations: ["prices"],
|
||||
relations: ["prices", "options"],
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@@ -12,4 +12,4 @@ export default app => {
|
||||
return app
|
||||
}
|
||||
|
||||
export const defaultRelations = ["prices"]
|
||||
export const defaultRelations = ["prices", "options"]
|
||||
|
||||
Reference in New Issue
Block a user