Skip to content

Commit

Permalink
fixup! refactor(manager): separate clients for auth and regular requests
Browse files Browse the repository at this point in the history
  • Loading branch information
seth2810 committed Jul 25, 2024
1 parent 64b9bfb commit 4ae51ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/http/HttpManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export class HttpClient {

/**
* @param {string} slug The slug to get.
* @param {{query?: Record<string, string> & AxiosRequestConfig}} options Options.
* @param {{query?: Record<string, string> & AxiosRequestConfig}} config Config.
* @returns {Promise<AxiosResponse>} Returns a promise with the response.
*/
async get(
Expand Down Expand Up @@ -431,7 +431,7 @@ export class HttpClient {
/**
* @param {string} slug The slug to delete.
* @param {any} data Body data.
* @param {{Record<string, string> & RequestInit}} options Options.
* @param {{Record<string, string> & RequestInit}} config Config.
* @returns {Promise<Response>} Returns a promise with the response.
*/
async delete(
Expand Down

0 comments on commit 4ae51ac

Please sign in to comment.