Skip to content

Commit

Permalink
fix(fetch): remove extra _options
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Dec 17, 2022
1 parent 4dbd79f commit ad24c81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/fetch/src/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ export async function serviceRequest<TData = Record<string, unknown>, TMeta = Re
* ```
*/
export function fetch(options: FetchOptions): Promise<Response> {
const _options = _processOptions(options);
logger.logMethodArgs('fetch', {options, _options});
return _handleCacheStrategy(_options);
options = _processOptions(options);
logger.logMethodArgs('fetch', {options});
return _handleCacheStrategy(options as Required<FetchOptions>);
}

/**
Expand Down

0 comments on commit ad24c81

Please sign in to comment.