import { ReportingCore } from '../../' ; import { UI_SETTINGS_CUSTOM_PDF_LOGO } from '../../../common/constants' ; import { LevelLogger } from '../../lib' ; import { ConditionalHeaders } from '../common' ; export const getCustomLogo = async ( reporting , conditionalHeaders , spaceId , logger ) => { const fakeRequest = reporting . getFakeRequest ( { headers : conditionalHeaders . headers } , spaceId , logger ) ; const uiSettingsClient = await reporting . getUiSettingsClient ( fakeRequest , logger ) ; const logo = await uiSettingsClient . get ( UI_SETTINGS_CUSTOM_PDF_LOGO ) ; return { conditionalHeaders , logo } ; } ;