src/utils.js
Function idmGraphQLFetch
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function idmGraphQLFetch(graphQLParams, token = null) {
if (!process.env.IDM_BASE_URL) {
throw new Error('IDM_BASE_URL must be set in environment')
}
const options = {