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:
parent
7a05676037
commit
ecd5e96ee2
2 changed files with 23 additions and 10 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue