{"action":"opened","issue":{"url":"https://api.github.com/repos/drenfr01/unionCapital/issues/296","labels_url":"https://api.github.com/repos/drenfr01/unionCapital/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/drenfr01/unionCapital/issues/296/comments","events_url":"https://api.github.com/repos/drenfr01/unionCapital/issues/296/events","html_url":"https://github.com/drenfr01/unionCapital/issues/296","id":105116117,"number":296,"title":"don't take into account points for hour in check points template","user":{"login":"drenfr01","id":508707,"avatar_url":"https://avatars.githubusercontent.com/u/508707?v=3","gravatar_id":"","url":"https://api.github.com/users/drenfr01","html_url":"https://github.com/drenfr01","followers_url":"https://api.github.com/users/drenfr01/followers","following_url":"https://api.github.com/users/drenfr01/following{/other_user}","gists_url":"https://api.github.com/users/drenfr01/gists{/gist_id}","starred_url":"https://api.github.com/users/drenfr01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drenfr01/subscriptions","organizations_url":"https://api.github.com/users/drenfr01/orgs","repos_url":"https://api.github.com/users/drenfr01/repos","events_url":"https://api.github.com/users/drenfr01/events{/privacy}","received_events_url":"https://api.github.com/users/drenfr01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-06T20:42:08Z","updated_at":"2015-09-06T20:42:08Z","closed_at":null,"body":"we just look at event.points, which clearly doesn't work for points per hour. We need to look at either event.points or if it's null run the calculation of pointsPerHour * hours (see calculatePointsPerHour method)"}}