vendure-ecommerce/real-world-vendure

Naming inconsistency in the file "product-review-admin.resolver.ts"

TenzingT-Lama2001 opened this issue · 1 comments

File: product-review-admin.resolver.ts
Line: 64 const updatedShippingMethod = patchEntity(review, input);
I noticed a potential naming inconsistency in the code snippet provided. In the updateProductReview function, there is a variable named updatedShippingMethod. However, based on the context and function name, shouldn't it be named updatedProductReview instead?

I'm not entirely sure if this is intentional or if there might be a misunderstanding. Could someone please provide clarification on the choice of variable name in this scenario?

Thanks, this was a copy-paste error 🤦