{"action":"created","issue":{"url":"https://api.github.com/repos/fossasia/open-event-frontend/issues/1270","repository_url":"https://api.github.com/repos/fossasia/open-event-frontend","labels_url":"https://api.github.com/repos/fossasia/open-event-frontend/issues/1270/labels{/name}","comments_url":"https://api.github.com/repos/fossasia/open-event-frontend/issues/1270/comments","events_url":"https://api.github.com/repos/fossasia/open-event-frontend/issues/1270/events","html_url":"https://github.com/fossasia/open-event-frontend/pull/1270","id":332164872,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NzE1Nzg0","number":1270,"title":"[WIP] Modify adapter to event model","user":{"login":"pradeepgangwar","id":21259802,"node_id":"MDQ6VXNlcjIxMjU5ODAy","avatar_url":"https://avatars1.githubusercontent.com/u/21259802?v=4","gravatar_id":"","url":"https://api.github.com/users/pradeepgangwar","html_url":"https://github.com/pradeepgangwar","followers_url":"https://api.github.com/users/pradeepgangwar/followers","following_url":"https://api.github.com/users/pradeepgangwar/following{/other_user}","gists_url":"https://api.github.com/users/pradeepgangwar/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepgangwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepgangwar/subscriptions","organizations_url":"https://api.github.com/users/pradeepgangwar/orgs","repos_url":"https://api.github.com/users/pradeepgangwar/repos","events_url":"https://api.github.com/users/pradeepgangwar/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepgangwar/received_events","type":"User","site_admin":false},"labels":[{"id":633065278,"node_id":"MDU6TGFiZWw2MzMwNjUyNzg=","url":"https://api.github.com/repos/fossasia/open-event-frontend/labels/needs-review","name":"needs-review","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"pradeepgangwar","id":21259802,"node_id":"MDQ6VXNlcjIxMjU5ODAy","avatar_url":"https://avatars1.githubusercontent.com/u/21259802?v=4","gravatar_id":"","url":"https://api.github.com/users/pradeepgangwar","html_url":"https://github.com/pradeepgangwar","followers_url":"https://api.github.com/users/pradeepgangwar/followers","following_url":"https://api.github.com/users/pradeepgangwar/following{/other_user}","gists_url":"https://api.github.com/users/pradeepgangwar/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepgangwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepgangwar/subscriptions","organizations_url":"https://api.github.com/users/pradeepgangwar/orgs","repos_url":"https://api.github.com/users/pradeepgangwar/repos","events_url":"https://api.github.com/users/pradeepgangwar/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepgangwar/received_events","type":"User","site_admin":false},"assignees":[{"login":"pradeepgangwar","id":21259802,"node_id":"MDQ6VXNlcjIxMjU5ODAy","avatar_url":"https://avatars1.githubusercontent.com/u/21259802?v=4","gravatar_id":"","url":"https://api.github.com/users/pradeepgangwar","html_url":"https://github.com/pradeepgangwar","followers_url":"https://api.github.com/users/pradeepgangwar/followers","following_url":"https://api.github.com/users/pradeepgangwar/following{/other_user}","gists_url":"https://api.github.com/users/pradeepgangwar/gists{/gist_id}","starred_url":"https://api.github.com/users/pradeepgangwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradeepgangwar/subscriptions","organizations_url":"https://api.github.com/users/pradeepgangwar/orgs","repos_url":"https://api.github.com/users/pradeepgangwar/repos","events_url":"https://api.github.com/users/pradeepgangwar/events{/privacy}","received_events_url":"https://api.github.com/users/pradeepgangwar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-06-13T21:08:22Z","updated_at":"2018-06-13T21:21:14Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/1270","html_url":"https://github.com/fossasia/open-event-frontend/pull/1270","diff_url":"https://github.com/fossasia/open-event-frontend/pull/1270.diff","patch_url":"https://github.com/fossasia/open-event-frontend/pull/1270.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\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).\r\n- [x] My branch is up-to-date with the Upstream `development` branch.\r\n- [x] The acceptance, integration, unit tests and linter pass locally with my changes <!-- use `ember test` to run all the tests -->\r\n- [ ] I have added tests that prove my fix is effective or that my feature works\r\n- [ ] I have added necessary documentation (if appropriate)\r\n\r\n#### Short description of what this resolves:\r\nCurrently public route sends JWT token for request to event tickets. Because of JWT token server returns hidden tickets for organizers also in public route. This PR modifies events adapter brcause request to tickets is via events model `events/<id>/tickets`\r\n\r\n#### Changes proposed in this pull request:\r\n- Modifies event adapter.\r\n- Do not send JWT token if route is public route.\r\n\r\n<!-- Add the issue number that is fixed by this PR (In the form Fixes #123) -->\r\n\r\nFixes #1242 \r\n"},"comment":{"url":"https://api.github.com/repos/fossasia/open-event-frontend/issues/comments/397090893","html_url":"https://github.com/fossasia/open-event-frontend/pull/1270#issuecomment-397090893","issue_url":"https://api.github.com/repos/fossasia/open-event-frontend/issues/1270","id":397090893,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzA5MDg5Mw==","user":{"login":"codecov[bot]","id":22429695,"node_id":"MDM6Qm90MjI0Mjk2OTU=","avatar_url":"https://avatars2.githubusercontent.com/in/254?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov%5Bbot%5D","html_url":"https://github.com/apps/codecov","followers_url":"https://api.github.com/users/codecov%5Bbot%5D/followers","following_url":"https://api.github.com/users/codecov%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codecov%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codecov%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codecov%5Bbot%5D/repos","events_url":"https://api.github.com/users/codecov%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codecov%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-13T21:21:14Z","updated_at":"2018-06-13T21:21:14Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/fossasia/open-event-frontend/pull/1270?src=pr&el=h1) Report\n> Merging [#1270](https://codecov.io/gh/fossasia/open-event-frontend/pull/1270?src=pr&el=desc) into [development](https://codecov.io/gh/fossasia/open-event-frontend/commit/d7822ae83c65bcafc89a10153a6a192d426b89b6?src=pr&el=desc) will **increase** coverage by `0.16%`.\n> The diff coverage is `100%`.\n\n[![Impacted file tree graph](https://codecov.io/gh/fossasia/open-event-frontend/pull/1270/graphs/tree.svg?width=650&height=150&src=pr&token=yq7J0cAzYE)](https://codecov.io/gh/fossasia/open-event-frontend/pull/1270?src=pr&el=tree)\n\n```diff\n@@               Coverage Diff               @@\n##           development    #1270      +/-   ##\n===============================================\n+ Coverage         28.9%   29.07%   +0.16%     \n===============================================\n  Files              319      320       +1     \n  Lines             2546     2552       +6     \n===============================================\n+ Hits               736      742       +6     \n  Misses            1810     1810\n```\n\n\n| [Impacted Files](https://codecov.io/gh/fossasia/open-event-frontend/pull/1270?src=pr&el=tree) | Coverage Δ | |\n|---|---|---|\n| [app/adapters/event.js](https://codecov.io/gh/fossasia/open-event-frontend/pull/1270/diff?src=pr&el=tree#diff-YXBwL2FkYXB0ZXJzL2V2ZW50Lmpz) | `100% <100%> (ø)` | |\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/fossasia/open-event-frontend/pull/1270?src=pr&el=continue).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\n> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/fossasia/open-event-frontend/pull/1270?src=pr&el=footer). Last update [d7822ae...c6b6c81](https://codecov.io/gh/fossasia/open-event-frontend/pull/1270?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\n"}}
{"actor":{"display_login":"codecov"}}