Skip to content

Commit

Permalink
undo some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelaZQ1 committed Dec 1, 2023
1 parent 64d270f commit 203c434
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/api-client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
ResetPasswordDto,
courseToString,
NUPathEnum,
GetMetaInfoResponse,
} from "@graduate/common";
import { ClassConstructor, plainToInstance } from "class-transformer";

Expand Down Expand Up @@ -103,6 +104,11 @@ class APIClient {
getSupportedMajors: (): Promise<GetSupportedMajorsResponse> =>
this.req("GET", `/majors/supportedMajors`, GetSupportedMajorsResponse),
};

meta = {
getInfo: (): Promise<GetMetaInfoResponse> =>
this.req("GET", "/meta/info", GetMetaInfoResponse),
};
}

/**
Expand Down

0 comments on commit 203c434

Please sign in to comment.