Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken product image URLs in order confirmation email #3131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nirzaf
Copy link

@nirzaf nirzaf commented Oct 13, 2024

Fixes #3130

Update the order service and resolver to include the lines.featuredAsset relation.

  • Order Service

    • Add lines.featuredAsset to the relations array in the findOne method in packages/core/src/service/services/order.service.ts.
  • Order Resolver

    • Add lines.featuredAsset to the relations array in the order query in packages/core/src/api/resolvers/admin/order.resolver.ts.

Fixes vendure-ecommerce#3130

Update the order service and resolver to include the `lines.featuredAsset` relation.

* **Order Service**
  - Add `lines.featuredAsset` to the relations array in the `findOne` method in `packages/core/src/service/services/order.service.ts`.

* **Order Resolver**
  - Add `lines.featuredAsset` to the relations array in the `order` query in `packages/core/src/api/resolvers/admin/order.resolver.ts`.
Copy link

vercel bot commented Oct 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Oct 13, 2024 8:21am

Copy link
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Product image urls is broken in order confirmation email
1 participant