From f01907f96f75a69260fd1f21d16acbb8f3dca59a Mon Sep 17 00:00:00 2001 From: Starcea Date: Fri, 28 Apr 2023 20:29:27 +0900 Subject: [PATCH] fix: protected raw parsing functions --- src/http.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/http.ts b/src/http.ts index 53f41d5..0f5ecba 100644 --- a/src/http.ts +++ b/src/http.ts @@ -64,11 +64,13 @@ export class NeisRequest { } } - async schoolInfoRaw(params: SchoolInfoParam): Promise { + protected async schoolInfoRaw( + params: SchoolInfoParam + ): Promise { return await this.request('GET', 'schoolInfo', params) } - async mealServiceDietInfoRaw( + protected async mealServiceDietInfoRaw( params: MealServiceDietInfoParam ): Promise { return await this.request( @@ -78,7 +80,7 @@ export class NeisRequest { ) } - async SchoolScheduleRaw( + protected async SchoolScheduleRaw( params: SchoolScheduleParam ): Promise { return await this.request( @@ -88,7 +90,7 @@ export class NeisRequest { ) } - async acaInsTiInfoRaw( + protected async acaInsTiInfoRaw( params: AcaInsTiInfoParam ): Promise { return await this.request(