hotfix

Stephen Paul Weber created

Change summary

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

Detailed changes

lib/btc_sell_prices.rb 🔗

@@ -52,7 +52,7 @@ protected
 				@oxr.update_rates
 				@oxr.get_rate("CAD", "USD")
 			}.then do |orate|
-				@redis.set("cad_to_usd", orate, ex: 60 * 60).then { orate }
+				@redis.setex("cad_to_usd", orate, 60 * 60).then { orate }
 			end
 		end
 	end