Skip to content

Commit 4d6b4a1

Browse files
authored
Merge pull request #194 from elfacu0/patch-1
add const
2 parents c858a0c + 1f501bb commit 4d6b4a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ class ProductService {
302302
//public method
303303
getPrice(productId) {
304304
const desiredProduct = DB.getProduct(productId);
305-
finalPrice = this.calculateVATAdd(desiredProduct.price).finalPrice;
305+
const finalPrice = this.calculateVATAdd(desiredProduct.price).finalPrice;
306306
return finalPrice;
307307
}
308308
}

0 commit comments

Comments
 (0)