Fix: Gemeinsame Spiele - profileId zu steamId Resolution

Das Multi-Platform Profile System hatte den Common-Games-Endpoint
kaputt gemacht: Client sendete profileIds (UUIDs), Server erwartete
steamIds. Endpoint loest jetzt profileIds korrekt auf.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel 2026-03-09 00:47:34 +01:00
parent 7a05676037
commit ecd5e96ee2
2 changed files with 23 additions and 10 deletions

View file

@ -390,9 +390,12 @@ export default function GameLibraryTab({ data }: { data: any }) {
if (resp.ok) {
const d = await resp.json();
setCommonGames(d.games || d);
} else {
console.error('[GameLibrary] common-games error:', resp.status, await resp.text().catch(() => ''));
setCommonGames([]);
}
} catch {
/* silent */
} catch (err) {
console.error('[GameLibrary] common-games fetch failed:', err);
} finally {
setLoading(false);
}