diff --git a/src/apis/fetch-api.ts b/src/apis/fetch-api.ts index d5ccfba4..b03e6243 100644 --- a/src/apis/fetch-api.ts +++ b/src/apis/fetch-api.ts @@ -16,7 +16,7 @@ interface FetchAPIParams { const DEFAULT_REVALIDATE = 0 -export const fetchAPI = async (params: FetchAPIParams): Promise => { +export const fetchAPI = async (params: FetchAPIParams): Promise => { const { url, options } = params const query = QS.stringify(options?.queryOptions?.query ?? {}, options?.queryOptions?.options) const urlWithQuery = query ? `${url}?${query}` : url