Skip to content

Commit c17726a

Browse files
committed
chore(httpClient): putPrivateMeister 정의
1 parent 8e3422f commit c17726a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/apis/httpClient/httpClient.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,13 @@ export class HttpClient {
105105
});
106106
}
107107

108+
privateMeister(data: unknown, requestConfig?: AxiosRequestConfig) {
109+
return this.api.put("", data, {
110+
...HttpClient.clientConfig,
111+
...requestConfig,
112+
});
113+
}
114+
108115
putByTitle(data: unknown, requestConfig?: AxiosRequestConfig) {
109116
return this.api.put("/:title", data, {
110117
...HttpClient.clientConfig,
@@ -182,4 +189,5 @@ export default {
182189
meister: new HttpClient("/api/meister", axiosConfig),
183190
ranking: new HttpClient("/api/meister/ranking", axiosConfig),
184191
main: new HttpClient("/api/main", axiosConfig),
192+
private: new HttpClient("/api/meister/privateRanking", axiosConfig),
185193
};

0 commit comments

Comments
 (0)