mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 09:03:03 -04:00
fix userutils (#1861)
This commit is contained in:
parent
788d22f9e9
commit
2478ffb695
6 changed files with 8 additions and 10 deletions
|
@ -94,7 +94,7 @@ export default function PluginModal({ plugin, onRestartNeeded, onClose, transiti
|
|||
(async () => {
|
||||
for (const user of plugin.authors.slice(0, 6)) {
|
||||
const author = user.id
|
||||
? await UserUtils.fetchUser(`${user.id}`)
|
||||
? await UserUtils.getUser(`${user.id}`)
|
||||
.catch(() => makeDummyUser({ username: user.name }))
|
||||
: makeDummyUser({ username: user.name });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue