diff options
author | Minteck <contact@minteck.org> | 2022-07-11 18:54:47 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-07-11 18:54:47 +0200 |
commit | f70cf5893bb775625e79ed959721ede03e34a108 (patch) | |
tree | b43b6c392d580304fb47777d240f529e92ea17b0 /Application/TransactionsList/index.php | |
parent | 2629b95c437cce1d331d8f4ab3a0d1ff394930a7 (diff) | |
download | bits-server-f70cf5893bb775625e79ed959721ede03e34a108.tar.gz bits-server-f70cf5893bb775625e79ed959721ede03e34a108.tar.bz2 bits-server-f70cf5893bb775625e79ed959721ede03e34a108.zip |
Diffstat (limited to 'Application/TransactionsList/index.php')
-rw-r--r-- | Application/TransactionsList/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Application/TransactionsList/index.php b/Application/TransactionsList/index.php index 64d2d2a..d4c5691 100644 --- a/Application/TransactionsList/index.php +++ b/Application/TransactionsList/index.php @@ -44,8 +44,8 @@ foreach ($list as $id) { $item["author"] = [ "id" => $item["author"], - "name" => $users[$item["author"]] ?? $item["author"], - "avatar" => "https://account.minteck.org/hub/api/rest/avatar/" . $item["author"] . "?dpr=2&size=48" + "name" => $item["name"] ?? $users[$item["author"]] ?? $item["author"], + "avatar" => $item["picture"] ?? "https://privateauth.equestria.dev/hub/api/rest/avatar/" . $item["author"] . "?dpr=2&size=48" ]; $item["date"] = [ "absolute" => $item["date"], |