lib/parent_code_repo.rb 🔗
@@ -24,7 +24,7 @@ class ParentCodeRepo
end
def find_or_create(customer_id)
- trust_level_guard.then {
+ trust_level_guard(customer_id).then {
@redis.get("jmp_customer_parent_code-#{customer_id}")
}.then do |code|
next code if code