From 850076f79a7c01edd9d7a161b628ae38462f6b1a Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 14 Sep 2022 15:19:12 +0200 Subject: [PATCH] (bug) undefined method due to merge conflict undefined method `amount_multiplied_by_hundred' for ProductService:Class --- app/services/product_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/product_service.rb b/app/services/product_service.rb index d88169ab1..1bd34d137 100644 --- a/app/services/product_service.rb +++ b/app/services/product_service.rb @@ -25,7 +25,7 @@ class ProductService end # amount params multiplied by hundred - def self.amount_multiplied_by_hundred(amount) + def amount_multiplied_by_hundred(amount) if amount.present? v = amount.to_f