fix testing acocunt

pull/220/head^2
Pete Matsyburka 2 years ago
parent c5598d9efe
commit 168fc8bd03

@ -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

Loading…
Cancel
Save