diff --git a/app/models/client.rb b/app/models/client.rb index f20ec82a6..cb7631f73 100644 --- a/app/models/client.rb +++ b/app/models/client.rb @@ -955,7 +955,7 @@ def assign_prefix ClientPrefix.create( client_id: symbol, provider_prefix_id: provider_prefix.uid, - prefix_id: (prefix ? prefix.uid : provider_prefix.prefix.uid), + prefix_id: provider_prefix.prefix.uid ) end end