Fix typo in example for getting event data