Fix filtres instruments
All checks were successful
Build and Push Docker Images / Build Backend Image (push) Successful in 50s
Build and Push Docker Images / Build Frontend Image (push) Successful in 6m43s

This commit is contained in:
2026-01-27 23:35:41 +01:00
parent d2570b9228
commit 52175cdeab

View File

@@ -60,7 +60,12 @@ function getApiClient() {
// Tracks
export async function getTracks(params: FilterParams & { skip?: number; limit?: number }): Promise<TracksResponse> {
const response = await getApiClient().get('/api/tracks', { params })
const response = await getApiClient().get('/api/tracks', {
params,
paramsSerializer: {
indexes: null, // Use instruments=value1&instruments=value2 instead of instruments[0]=value1
}
})
return response.data
}