diff --git a/backend/nestjs-seshat-api/src/providers/google/google.service.ts b/backend/nestjs-seshat-api/src/providers/google/google.service.ts index cfe6093..80bd206 100644 --- a/backend/nestjs-seshat-api/src/providers/google/google.service.ts +++ b/backend/nestjs-seshat-api/src/providers/google/google.service.ts @@ -87,7 +87,7 @@ export class GoogleService { thumbnail: secure && item.volumeInfo.imageLinks?.thumbnail ? item.volumeInfo.imageLinks.thumbnail.replaceAll('http://', 'https://') : item.volumeInfo.imageLinks?.thumbnail, url: item.volumeInfo.canonicalVolumeLink, provider: 'google' - } + }; const regex = this.getRegexByPublisher(result.publisher); const match = result.title.match(regex); @@ -122,17 +122,17 @@ export class GoogleService { private getRegexByPublisher(publisher: string): RegExp { switch (publisher) { case 'J-Novel Club': - return /^(?