From 55a73d21b4c067f334d0b5392766f72707b446d3 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Thu, 9 May 2024 15:39:44 +0000 Subject: [PATCH] Activating a game does not publish MQTT message Fixes #295 --- apps/playnite-web/src/components/GameDetails.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/playnite-web/src/components/GameDetails.tsx b/apps/playnite-web/src/components/GameDetails.tsx index de7254132..7f552929f 100644 --- a/apps/playnite-web/src/components/GameDetails.tsx +++ b/apps/playnite-web/src/components/GameDetails.tsx @@ -63,6 +63,7 @@ const GameDetails: FC<{ game: IGame }> = ({ game }) => { headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, + credentials: 'same-origin', body: new URLSearchParams({ id: game.id, platformId: sortGameActionPlatforms(game.platforms)[selectedIndex].id, @@ -111,7 +112,7 @@ const GameDetails: FC<{ game: IGame }> = ({ game }) => { color="primary" aria-label="Platforms in which to play the game" > -