Files
elysium/apps/api
hikari 830a9d2a56 fix: refresh Discord avatar hash on every game load (#104)
Adds fetchDiscordUserById (bot token) to the Discord service and calls it
in parallel with the DB queries on game load. When the returned hash
differs from the stored value the Player record is updated and the hash
is immediately synced into the returned game state, so the resource bar
always shows the player's current Discord avatar.

Also adds onError fallback: if the avatar URL is stale before the next
load, the resource bar component now derives the URL fresh from state on
every render rather than caching it.
2026-03-23 14:41:21 -07:00
..
2026-03-20 15:23:13 -07:00