fix(proxy): forward releaseId filter in TrackProxyController.GetPage so WASM-path mix/session track resolution is not stripped at the proxy boundary

This commit is contained in:
daniel-c-harvey
2026-06-15 21:07:50 -04:00
parent 2bacf58241
commit c9b8dfcf3f
@@ -32,6 +32,7 @@ public class TrackProxyController : ControllerBase
[FromQuery] string? q = null,
[FromQuery] string? album = null,
[FromQuery] string? genre = null,
[FromQuery] long? releaseId = null,
CancellationToken ct = default)
{
var query = $"api/track/page?page={page}&pageSize={pageSize}&sortDescending={sortDescending}";
@@ -43,6 +44,8 @@ public class TrackProxyController : ControllerBase
query += $"&album={Uri.EscapeDataString(album)}";
if (!string.IsNullOrWhiteSpace(genre))
query += $"&genre={Uri.EscapeDataString(genre)}";
if (releaseId is { } rid)
query += $"&releaseId={rid}";
HttpResponseMessage upstream;
try