mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-26 16:30:57 +01:00
fix: prowlarr integration indexers status changed from id to indexerId (#1837)
This commit is contained in:
@@ -45,7 +45,7 @@ export class ProwlarrIntegration extends Integration {
|
||||
);
|
||||
}
|
||||
|
||||
const inactiveIndexerIds = new Set(statusResult.data.map((status: { id: number }) => status.id));
|
||||
const inactiveIndexerIds = new Set(statusResult.data.map((status: { indexerId: number }) => status.indexerId));
|
||||
|
||||
const indexers: Indexer[] = indexersResult.data.map((indexer) => ({
|
||||
id: indexer.id,
|
||||
|
||||
@@ -9,6 +9,6 @@ export const indexerResponseSchema = z.object({
|
||||
|
||||
export const statusResponseSchema = z.array(
|
||||
z.object({
|
||||
id: z.number(),
|
||||
indexerId: z.number(),
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user