fix testing acocunt
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ module Accounts
|
|||||||
end
|
end
|
||||||
|
|
||||||
def find_or_create_testing_user(account)
|
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
|
return user if user
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user