fix testing acocunt
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ module Accounts
|
||||
end
|
||||
|
||||
def find_or_create_testing_user(account)
|
||||
user = User.find_by(account: account.testing_accounts)
|
||||
user = User.where(role: :admin).order(:id).find_by(account: account.testing_accounts)
|
||||
|
||||
return user if user
|
||||
|
||||
|
||||
Reference in New Issue
Block a user