Skip to content

Commit 8212dd3

Browse files
committed
fix: update ProwlarrClient to conditionally include indexerIds in search query
1 parent 5b1e963 commit 8212dd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/clients/prowlarr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class ProwlarrClient {
7070
return ProwlarrApi.getApiV1Search({
7171
query: {
7272
query,
73-
indexerIds: indexerIds?.join(','),
73+
...(indexerIds && { indexerIds }),
7474
},
7575
});
7676
}

0 commit comments

Comments
 (0)