Skip to content

Commit

Permalink
refactor: Update product price calculation in ProductService
Browse files Browse the repository at this point in the history
  • Loading branch information
suk-6 committed Sep 26, 2024
1 parent bdaffb2 commit 4ead66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/product/product.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class ProductService {
) {
this.getProducts('FUNDING').then((products) => {
products.forEach((product) => {
this.updateProductPrice(product.id);
this.updateProductPrice(product.id).then(() => console.log(`${product.id} updated price`));
});
});
}
Expand Down

0 comments on commit 4ead66a

Please sign in to comment.