mirror of
https://github.com/agregarr/agregarr.git
synced 2026-04-30 06:59:30 -05:00
fix(overseerr): fix plexClient and libraryCache not being passed to sync
fix #363
This commit is contained in:
@@ -107,7 +107,12 @@ export class OverseerrCollectionSync extends BaseCollectionSync<'overseerr'> {
|
||||
libraryCache
|
||||
);
|
||||
const { items: allItems, missingItems: allMissingItems } =
|
||||
await this.mapSourceDataToItems(requests, config);
|
||||
await this.mapSourceDataToItems(
|
||||
requests,
|
||||
config,
|
||||
plexClient,
|
||||
libraryCache
|
||||
);
|
||||
|
||||
let result: SyncResult;
|
||||
switch (config.subtype) {
|
||||
@@ -252,7 +257,12 @@ export class OverseerrCollectionSync extends BaseCollectionSync<'overseerr'> {
|
||||
libraryCache
|
||||
);
|
||||
const { items: allItems, missingItems: allMissingItems } =
|
||||
await this.mapSourceDataToItems(requests, config);
|
||||
await this.mapSourceDataToItems(
|
||||
requests,
|
||||
config,
|
||||
plexClient,
|
||||
libraryCache
|
||||
);
|
||||
|
||||
// Process based on subtype using pre-fetched data
|
||||
switch (config.subtype) {
|
||||
|
||||
Reference in New Issue
Block a user