{"action":"created","issue":{"url":"https://api.github.com/repos/fossasia/open-event-server/issues/4821","repository_url":"https://api.github.com/repos/fossasia/open-event-server","labels_url":"https://api.github.com/repos/fossasia/open-event-server/issues/4821/labels{/name}","comments_url":"https://api.github.com/repos/fossasia/open-event-server/issues/4821/comments","events_url":"https://api.github.com/repos/fossasia/open-event-server/issues/4821/events","html_url":"https://github.com/fossasia/open-event-server/pull/4821","id":327586190,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxMzQyOTgz","number":4821,"title":"Admin sales routes","user":{"login":"maxlorenz","id":2054706,"node_id":"MDQ6VXNlcjIwNTQ3MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/2054706?v=4","gravatar_id":"","url":"https://api.github.com/users/maxlorenz","html_url":"https://github.com/maxlorenz","followers_url":"https://api.github.com/users/maxlorenz/followers","following_url":"https://api.github.com/users/maxlorenz/following{/other_user}","gists_url":"https://api.github.com/users/maxlorenz/gists{/gist_id}","starred_url":"https://api.github.com/users/maxlorenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxlorenz/subscriptions","organizations_url":"https://api.github.com/users/maxlorenz/orgs","repos_url":"https://api.github.com/users/maxlorenz/repos","events_url":"https://api.github.com/users/maxlorenz/events{/privacy}","received_events_url":"https://api.github.com/users/maxlorenz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"maxlorenz","id":2054706,"node_id":"MDQ6VXNlcjIwNTQ3MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/2054706?v=4","gravatar_id":"","url":"https://api.github.com/users/maxlorenz","html_url":"https://github.com/maxlorenz","followers_url":"https://api.github.com/users/maxlorenz/followers","following_url":"https://api.github.com/users/maxlorenz/following{/other_user}","gists_url":"https://api.github.com/users/maxlorenz/gists{/gist_id}","starred_url":"https://api.github.com/users/maxlorenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxlorenz/subscriptions","organizations_url":"https://api.github.com/users/maxlorenz/orgs","repos_url":"https://api.github.com/users/maxlorenz/repos","events_url":"https://api.github.com/users/maxlorenz/events{/privacy}","received_events_url":"https://api.github.com/users/maxlorenz/received_events","type":"User","site_admin":false},"assignees":[{"login":"maxlorenz","id":2054706,"node_id":"MDQ6VXNlcjIwNTQ3MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/2054706?v=4","gravatar_id":"","url":"https://api.github.com/users/maxlorenz","html_url":"https://github.com/maxlorenz","followers_url":"https://api.github.com/users/maxlorenz/followers","following_url":"https://api.github.com/users/maxlorenz/following{/other_user}","gists_url":"https://api.github.com/users/maxlorenz/gists{/gist_id}","starred_url":"https://api.github.com/users/maxlorenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxlorenz/subscriptions","organizations_url":"https://api.github.com/users/maxlorenz/orgs","repos_url":"https://api.github.com/users/maxlorenz/repos","events_url":"https://api.github.com/users/maxlorenz/events{/privacy}","received_events_url":"https://api.github.com/users/maxlorenz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-05-30T06:09:15Z","updated_at":"2018-07-07T16:19:17Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-server/pulls/4821","html_url":"https://github.com/fossasia/open-event-server/pull/4821","diff_url":"https://github.com/fossasia/open-event-server/pull/4821.diff","patch_url":"https://github.com/fossasia/open-event-server/pull/4821.patch"},"body":"<!--\r\n(Thanks for sending a pull request! Please make sure you click the link above to view the contribution guidelines, then fill out the blanks below.)\r\n-->\r\n<!-- Add the issue number that is fixed by this PR (In the form Fixes #123) -->\r\n\r\nApproaches #4791 and implements the 5 routes that calculate sales total and ticket counts\r\n\r\n#### Checklist\r\n\r\n- [x] I have read the [Contribution & Best practices Guide](https://blog.fossasia.org/open-source-developer-guide-and-best-practices-at-fossasia) and my PR follows them.\r\n- [x] My branch is up-to-date with the Upstream `development` branch.\r\n- [x] The unit tests pass locally with my changes <!-- use `nosetests tests/unittests` to run all the tests -->\r\n- [ ] I have added tests that prove my fix is effective or that my feature works\r\n- [x] I have added necessary documentation (if appropriate)\r\n<!-- If an existing function does not have a docstring, please add one -->\r\n- [ ] All the functions created/modified in this PR contain relevant docstrings.\r\n\r\n#### Short description of what this resolves:\r\n\r\n- Adds admin sales routes\r\n\r\n#### Changes proposed in this pull request:\r\n\r\n- [x] By Events route\r\n- [x] By Organizer\r\n- [x] By Location\r\n- [x] By Marketer\r\n- [x] Discounted events\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fossasia/open-event-server/issues/comments/403226438","html_url":"https://github.com/fossasia/open-event-server/pull/4821#issuecomment-403226438","issue_url":"https://api.github.com/repos/fossasia/open-event-server/issues/4821","id":403226438,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzIyNjQzOA==","user":{"login":"maxlorenz","id":2054706,"node_id":"MDQ6VXNlcjIwNTQ3MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/2054706?v=4","gravatar_id":"","url":"https://api.github.com/users/maxlorenz","html_url":"https://github.com/maxlorenz","followers_url":"https://api.github.com/users/maxlorenz/followers","following_url":"https://api.github.com/users/maxlorenz/following{/other_user}","gists_url":"https://api.github.com/users/maxlorenz/gists{/gist_id}","starred_url":"https://api.github.com/users/maxlorenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxlorenz/subscriptions","organizations_url":"https://api.github.com/users/maxlorenz/orgs","repos_url":"https://api.github.com/users/maxlorenz/repos","events_url":"https://api.github.com/users/maxlorenz/events{/privacy}","received_events_url":"https://api.github.com/users/maxlorenz/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T16:19:17Z","updated_at":"2018-07-07T16:19:17Z","author_association":"CONTRIBUTOR","body":"The multiple heads check script threw an error that was unrelated (PR does not contain migrations). CI should go through now"}}
{"actor":{"display_login":"maxlorenz"}}