Remove the use of deprecated methods.

This commit is contained in:
James Cole
2023-10-29 05:54:01 +01:00
parent a28f561e0c
commit 4bb171128e
10 changed files with 43 additions and 137 deletions

View File

@@ -535,7 +535,7 @@ class Steam
$result = [];
/** @var Account $account */
foreach ($accounts as $account) {
$default = app('amount')->getDefaultCurrencyByUser($account->user);
$default = app('amount')->getDefaultCurrencyByUserGroup($account->user->userGroup);
$result[(int)$account->id]
= [
'balance' => $this->balance($account, $date),