Skip to content

Commit

Permalink
fix for now
Browse files Browse the repository at this point in the history
  • Loading branch information
viggo-devries committed Nov 22, 2023
1 parent 258c9d3 commit 0e0b9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscar_odin/mappings/catalogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def product_to_model(
product: resources.catalogue.Product,
) -> ProductModel:
"""Map a product resource to a model."""
context = {}
context = {"original_object": product}

obj = ProductToModel.apply(product, context=context)

Expand Down

0 comments on commit 0e0b9b7

Please sign in to comment.