Skip to content

Commit

Permalink
prowlarr name detection adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ldyy committed Jul 1, 2024
1 parent abb0b69 commit b291ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comet/utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async def getIndexerManager(session: aiohttp.ClientSession, indexerManagerType:

indexersId = []
for indexer in getIndexers:
if indexer["definitionName"] in indexers:
if indexer["name"] in indexers:
indexersId.append(indexer["id"])

response = await session.get(f"{settings.INDEXER_MANAGER_URL}/api/v1/search?query={query}&indexerIds={'&indexerIds='.join(str(indexerId) for indexerId in indexersId)}&categories=2000&categories=5000&type=search", headers={
Expand Down

0 comments on commit b291ae6

Please sign in to comment.