From ad24c8104b944ebda52308e60d41976ac1eeee81 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Sun, 18 Dec 2022 01:03:13 +0330 Subject: [PATCH] fix(fetch): remove extra _options --- core/fetch/src/fetch.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/fetch/src/fetch.ts b/core/fetch/src/fetch.ts index 635c6ae3e..a083d18b5 100644 --- a/core/fetch/src/fetch.ts +++ b/core/fetch/src/fetch.ts @@ -82,9 +82,9 @@ export async function serviceRequest, TMeta = Re * ``` */ export function fetch(options: FetchOptions): Promise { - const _options = _processOptions(options); - logger.logMethodArgs('fetch', {options, _options}); - return _handleCacheStrategy(_options); + options = _processOptions(options); + logger.logMethodArgs('fetch', {options}); + return _handleCacheStrategy(options as Required); } /**