fix(shared): bind platform when creating group manager
PR Checks / test-and-build (pull_request) Successful in 12m53s

Add a PostgreSQL integration regression test for new-platform-group session creation. The production failure was a missing Platform parameter in the group_managers insert, leaving @Platform in SQL and causing PostgreSQL 42883. Bump version to 3.9.8.
This commit is contained in:
2026-06-09 15:16:54 +03:00
parent 2241568bac
commit efd86bca0a
6 changed files with 143 additions and 7 deletions
@@ -82,7 +82,13 @@ public sealed class CreateSessionHandler(
AND p.external_user_id = @ExternalGmId
ON CONFLICT (group_id, player_id) DO NOTHING
""",
new { GroupId = groupId, ExternalGmId = externalUserId, OwnerRole = GroupManagerRoleExtensions.OwnerValue },
new
{
GroupId = groupId,
Platform = platform,
ExternalGmId = externalUserId,
OwnerRole = GroupManagerRoleExtensions.OwnerValue
},
transaction);
}
else
@@ -82,7 +82,7 @@
</button>
</form>
<div class="nav-version">v3.9.7</div>
<div class="nav-version">v3.9.8</div>
</div>
</Authorized>
<NotAuthorized>