Problem accessing API data

Hi again,

Im trying to extract the data from the returned response, but for some reason I just can’t access the beverage object. Here’s a code snippet const sortTapData = => { return tap.current_keg.beverage; });
Tapdata contains the array of tap objects returned from the API. In browser it says that everything I want should be under ‘beverage’, but Im getting an error when trying to access it. Any ideas @mikey ? Thanks

Nevermind, realised that beverage is null if the tap isn’t currently on!