fix: assigned but unused variable - identity

This commit is contained in:
Michał Krzysteczko
2025-12-17 12:03:43 +01:00
parent a5a0cda295
commit 89749b824d
+1 -1
View File
@@ -11,7 +11,7 @@ ApplicationRecord.with_each_tenant do |tenant|
# Use IdentityProvider to link the user's email to this tenant
# This will find_or_create the identity and link it to the tenant
identity = IdentityProvider.link(email_address: user.email_address, to: tenant)
IdentityProvider.link(email_address: user.email_address, to: tenant)
puts " ✅ Linked identity for user #{user.id} (#{user.email_address}) to tenant '#{tenant}'"
end