From 8a172d63aab89b3df09097d31d05fa28feef0b56 Mon Sep 17 00:00:00 2001 From: Lexes Jan Mantiquilla Date: Thu, 4 Jan 2024 21:21:33 +0000 Subject: [PATCH 1/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1df1d8cb..7c92ade8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typescript-aniskip-api", - "version": "2.0.575", + "version": "2.0.576", "description": "Provides the opening and ending skip times for the Aniskip extension", "repository": "https://github.com/lexesjan/typescript-aniskip-api", "contributors": [ From b5ace239967c61988a6b9314716cefa4102a6cc6 Mon Sep 17 00:00:00 2001 From: Lexes Jan Mantiquilla Date: Thu, 4 Jan 2024 21:35:21 +0000 Subject: [PATCH 2/2] Format code --- src/skip-times/skip-times.service.v1.ts | 5 ++--- src/skip-times/skip-times.service.v2.ts | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/skip-times/skip-times.service.v1.ts b/src/skip-times/skip-times.service.v1.ts index 8acb8f03..a03d6387 100644 --- a/src/skip-times/skip-times.service.v1.ts +++ b/src/skip-times/skip-times.service.v1.ts @@ -29,9 +29,8 @@ export class SkipTimesServiceV1 { voteSuccessful = await this.skipTimesRepository.upvoteSkipTime(skipId); break; case 'downvote': - voteSuccessful = await this.skipTimesRepository.downvoteSkipTime( - skipId - ); + voteSuccessful = + await this.skipTimesRepository.downvoteSkipTime(skipId); break; // no default } diff --git a/src/skip-times/skip-times.service.v2.ts b/src/skip-times/skip-times.service.v2.ts index e4503399..027652bc 100644 --- a/src/skip-times/skip-times.service.v2.ts +++ b/src/skip-times/skip-times.service.v2.ts @@ -29,9 +29,8 @@ export class SkipTimesServiceV2 { voteSuccessful = await this.skipTimesRepository.upvoteSkipTime(skipId); break; case 'downvote': - voteSuccessful = await this.skipTimesRepository.downvoteSkipTime( - skipId - ); + voteSuccessful = + await this.skipTimesRepository.downvoteSkipTime(skipId); break; // no default }