Use trampoline instead of custom fiber

Stephen Paul Weber created

Change summary

lib/customer_plan.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

lib/customer_plan.rb 🔗

@@ -70,7 +70,7 @@ class CustomerPlan
 	end
 
 	def bill_plan(note: nil)
-		EM.promise_fiber do
+		EMPromise.resolve(nil).then do
 			DB.transaction do |db|
 				next false unless !block_given? || yield(db)