Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const adalApiFetch = (fetch: (input: string, init: any) => Promise, url: string, options: any) =>
adalFetch(authContext, adalConfig.endpoints.api, fetch, url, options);
export const adalApiFetch = (fetch, url, options) =>
adalFetch(authContext, {}, fetch, url, options);