diff --git a/bin/cancel_expired_customers b/bin/cancel_expired_customers index c49f5c24fc0214ec72e25bde414806e491c4cb10..a044d6b2cf9717e61f1521875c561d26c717401a 100755 --- a/bin/cancel_expired_customers +++ b/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,