bin/cancel_expired_customers 🔗
@@ -24,7 +24,8 @@ CONFIG = Dhall.load(<<-DHALL).sync
password: Text,
target: Text -> Text,
body: Text -> Text -> Text
- }
+ },
+ old_port_ins: List Text
}
DHALL
@@ -61,7 +62,7 @@ ported_in_promise = Promise.new
EM.schedule do
Fiber.new {
begin
- tns = Set.new
+ tns = Set.new(CONFIG[:old_port_ins])
page = BandwidthIris::PortIn.list(
page: 1,
size: 1000,