From 2c2a56bc5eadd9165c4a65b5531b1c7ff545e2d7 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 29 Jan 2024 13:27:29 -0500 Subject: [PATCH] put_owner is a sync operation already --- lib/sim_order.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sim_order.rb b/lib/sim_order.rb index c2d1c7972616bc1fd6e012d81f59d7878905d726..a9904dd4c65975904e7ab4d9220e67a6619558e8 100644 --- a/lib/sim_order.rb +++ b/lib/sim_order.rb @@ -69,7 +69,7 @@ protected def commit DB.transaction do sim = @sim_repo.available.sync - @sim_repo.put_owner(sim, @customer, self.class.label).sync + @sim_repo.put_owner(sim, @customer, self.class.label) keepgo_tx = @sim_repo.refill(sim, amount_mb: 1024).sync raise "SIM activation failed" unless keepgo_tx["ack"] == "success"