Skip to content

Commit

Permalink
fix: protected raw parsing functions
Browse files Browse the repository at this point in the history
  • Loading branch information
star0202 committed Apr 28, 2023
1 parent e22e19c commit f01907f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,13 @@ export class NeisRequest {
}
}

async schoolInfoRaw(params: SchoolInfoParam): Promise<SchoolInfoResponse[]> {
protected async schoolInfoRaw(
params: SchoolInfoParam
): Promise<SchoolInfoResponse[]> {
return await this.request<SchoolInfoResponse>('GET', 'schoolInfo', params)
}

async mealServiceDietInfoRaw(
protected async mealServiceDietInfoRaw(
params: MealServiceDietInfoParam
): Promise<MealServiceDietInfoResponse[]> {
return await this.request<MealServiceDietInfoResponse>(
Expand All @@ -78,7 +80,7 @@ export class NeisRequest {
)
}

async SchoolScheduleRaw(
protected async SchoolScheduleRaw(
params: SchoolScheduleParam
): Promise<SchoolScheduleResponse[]> {
return await this.request<SchoolScheduleResponse>(
Expand All @@ -88,7 +90,7 @@ export class NeisRequest {
)
}

async acaInsTiInfoRaw(
protected async acaInsTiInfoRaw(
params: AcaInsTiInfoParam
): Promise<AcaInsTiInfoResponse[]> {
return await this.request<AcaInsTiInfoResponse>(
Expand Down

0 comments on commit f01907f

Please sign in to comment.