put_owner is a sync operation already

Stephen Paul Weber created

Change summary

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

Detailed changes

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"