Skip to content
Snippets Groups Projects
Commit 35dfc0fb authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fixed more case-sensitivity issues

parent 29996a7e
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ module ApplicationHelper
if domain == Rails.configuration.x.local_domain
account = Account.find_local(username)
else
account = Account.find_by(username: username, domain: domain)
account = Account.find_remote(username, domain)
end
account
......
......@@ -10,7 +10,7 @@ class FollowRemoteAccountService < BaseService
return Account.find_local(username) if domain == Rails.configuration.x.local_domain
account = Account.find_by(username: username, domain: domain)
account = Account.find_remote(username, domain)
if account.nil?
account = Account.new(username: username, domain: domain)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment