From be1b8017bd7d4c8387fa5cbea797e373d1f3e63b Mon Sep 17 00:00:00 2001 From: jorenn92 Date: Wed, 7 Feb 2024 17:06:51 +0100 Subject: [PATCH] fix: Resolve SQL error during Plex collection recreation Previously, an SQL error could occur when recreating a collection in Plex. This commit addresses the issue, ensuring smooth collection recreation without encountering SQL errors. --- server/src/modules/collections/collections.service.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/src/modules/collections/collections.service.ts b/server/src/modules/collections/collections.service.ts index c6eedfea..6e39f48e 100644 --- a/server/src/modules/collections/collections.service.ts +++ b/server/src/modules/collections/collections.service.ts @@ -994,11 +994,6 @@ export class CollectionsService { this.infoLogger(`Creating collection in Plex..`); const resp = await this.plexApi.createCollection(collectionData); if (resp?.ratingKey) { - this.addLogRecord( - { id: collectionData.collectionId } as Collection, - 'Plex collection created', - ECollectionLogType.COLLECTION, - ); return resp; } else { return resp[0];