diff --git a/infra/api/apiClient/ApiClient.ts b/infra/api/apiClient/ApiClient.ts index d321058..19392df 100644 --- a/infra/api/apiClient/ApiClient.ts +++ b/infra/api/apiClient/ApiClient.ts @@ -6,32 +6,32 @@ export class ApiClient { this.request = request; } - public async get(url: string, options: ApiOptionalParams = {}) { + async get(url: string, options: ApiOptionalParams = {}) { let response = await this.makeRequest(RequestMethod.GET, url, options) return response; } - public async post(url: string, options: ApiOptionalParams = {}) { + async post(url: string, options: ApiOptionalParams = {}) { let response = await this.makeRequest(RequestMethod.POST, url, options) return response; } - public async put(url: string, options: ApiOptionalParams = {}) { + async put(url: string, options: ApiOptionalParams = {}) { let response = await this.makeRequest(RequestMethod.PUT, url, options) return response; } - public async patch(url: string, options: ApiOptionalParams = {}) { + async patch(url: string, options: ApiOptionalParams = {}) { let response = await this.makeRequest(RequestMethod.PATCH, url, options) return response; } - public async delete(url: string, options: ApiOptionalParams = {}) { + async delete(url: string, options: ApiOptionalParams = {}) { let response = await this.makeRequest(RequestMethod.DELETE, url, options) return response; } - public async paginateRequest( + async paginateRequest( method: RequestMethod, url: string, paginationType: PaginationType,