{"action":"created","comment":{"url":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/comments/198276074","pull_request_review_id":132178743,"id":198276074,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODI3NjA3NA==","diff_hunk":"@@ -85,3 +85,27 @@ def createEvent(userid):\n     eventJson = eventManager.addEvent(event)\n \n     return eventJson, 201\n+\n+\t\n+@app.route('/api/events', methods=['GET'])\n+@authorized\n+def getEvents(userid):\n+    \"\"\"\n+    Find events in database based on data in request\n+\n+    Returns:\n+        Event object (200) if correct request\n+\n+    Author:\n+        Rafał Przepióra\n+    \"\"\"\n+\tx = request.args.get('coordsx')","path":"app/baseview.py","position":18,"original_position":18,"commit_id":"305fa67172a8d51cc4bdfce45a16c0746eef8805","original_commit_id":"305fa67172a8d51cc4bdfce45a16c0746eef8805","user":{"login":"kamilwu","id":16625383,"node_id":"MDQ6VXNlcjE2NjI1Mzgz","avatar_url":"https://avatars1.githubusercontent.com/u/16625383?v=4","gravatar_id":"","url":"https://api.github.com/users/kamilwu","html_url":"https://github.com/kamilwu","followers_url":"https://api.github.com/users/kamilwu/followers","following_url":"https://api.github.com/users/kamilwu/following{/other_user}","gists_url":"https://api.github.com/users/kamilwu/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilwu/subscriptions","organizations_url":"https://api.github.com/users/kamilwu/orgs","repos_url":"https://api.github.com/users/kamilwu/repos","events_url":"https://api.github.com/users/kamilwu/events{/privacy}","received_events_url":"https://api.github.com/users/kamilwu/received_events","type":"User","site_admin":false},"body":"w tym miejscu dostaję wyjątek:\r\n`TabError: inconsistent use of tabs and spaces in indentation`\r\ntestowałeś ten kod? ;-)","created_at":"2018-06-26T19:53:26Z","updated_at":"2018-06-26T19:53:26Z","html_url":"https://github.com/kamilwu/isi2project-backend/pull/8#discussion_r198276074","pull_request_url":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/8","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/comments/198276074"},"html":{"href":"https://github.com/kamilwu/isi2project-backend/pull/8#discussion_r198276074"},"pull_request":{"href":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/8","id":196962272,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2OTYyMjcy","html_url":"https://github.com/kamilwu/isi2project-backend/pull/8","diff_url":"https://github.com/kamilwu/isi2project-backend/pull/8.diff","patch_url":"https://github.com/kamilwu/isi2project-backend/pull/8.patch","issue_url":"https://api.github.com/repos/kamilwu/isi2project-backend/issues/8","number":8,"state":"open","locked":false,"title":"56 issue  - wyszukiwanie eventów","user":{"login":"przepiorar","id":27300955,"node_id":"MDQ6VXNlcjI3MzAwOTU1","avatar_url":"https://avatars3.githubusercontent.com/u/27300955?v=4","gravatar_id":"","url":"https://api.github.com/users/przepiorar","html_url":"https://github.com/przepiorar","followers_url":"https://api.github.com/users/przepiorar/followers","following_url":"https://api.github.com/users/przepiorar/following{/other_user}","gists_url":"https://api.github.com/users/przepiorar/gists{/gist_id}","starred_url":"https://api.github.com/users/przepiorar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/przepiorar/subscriptions","organizations_url":"https://api.github.com/users/przepiorar/orgs","repos_url":"https://api.github.com/users/przepiorar/repos","events_url":"https://api.github.com/users/przepiorar/events{/privacy}","received_events_url":"https://api.github.com/users/przepiorar/received_events","type":"User","site_admin":false},"body":"Kwerenda działa tylko, gdy są co najmniej 2 aktywności użytkownika, wiec należy zrobić instrukcję warunkową albo przy odczytywaniu aktywności użytkownika dodać do zwracanej listy np: -1.","created_at":"2018-06-24T18:08:09Z","updated_at":"2018-06-26T19:53:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70e690c8fd5ab9625ac837e50357b7b5f73a9ebb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/8/commits","review_comments_url":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/8/comments","review_comment_url":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kamilwu/isi2project-backend/issues/8/comments","statuses_url":"https://api.github.com/repos/kamilwu/isi2project-backend/statuses/305fa67172a8d51cc4bdfce45a16c0746eef8805","head":{"label":"kamilwu:56-ISSUE","ref":"56-ISSUE","sha":"305fa67172a8d51cc4bdfce45a16c0746eef8805","user":{"login":"kamilwu","id":16625383,"node_id":"MDQ6VXNlcjE2NjI1Mzgz","avatar_url":"https://avatars1.githubusercontent.com/u/16625383?v=4","gravatar_id":"","url":"https://api.github.com/users/kamilwu","html_url":"https://github.com/kamilwu","followers_url":"https://api.github.com/users/kamilwu/followers","following_url":"https://api.github.com/users/kamilwu/following{/other_user}","gists_url":"https://api.github.com/users/kamilwu/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilwu/subscriptions","organizations_url":"https://api.github.com/users/kamilwu/orgs","repos_url":"https://api.github.com/users/kamilwu/repos","events_url":"https://api.github.com/users/kamilwu/events{/privacy}","received_events_url":"https://api.github.com/users/kamilwu/received_events","type":"User","site_admin":false},"repo":{"id":126878904,"node_id":"MDEwOlJlcG9zaXRvcnkxMjY4Nzg5MDQ=","name":"isi2project-backend","full_name":"kamilwu/isi2project-backend","owner":{"login":"kamilwu","id":16625383,"node_id":"MDQ6VXNlcjE2NjI1Mzgz","avatar_url":"https://avatars1.githubusercontent.com/u/16625383?v=4","gravatar_id":"","url":"https://api.github.com/users/kamilwu","html_url":"https://github.com/kamilwu","followers_url":"https://api.github.com/users/kamilwu/followers","following_url":"https://api.github.com/users/kamilwu/following{/other_user}","gists_url":"https://api.github.com/users/kamilwu/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilwu/subscriptions","organizations_url":"https://api.github.com/users/kamilwu/orgs","repos_url":"https://api.github.com/users/kamilwu/repos","events_url":"https://api.github.com/users/kamilwu/events{/privacy}","received_events_url":"https://api.github.com/users/kamilwu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kamilwu/isi2project-backend","description":"Backend for Meeter app","fork":false,"url":"https://api.github.com/repos/kamilwu/isi2project-backend","forks_url":"https://api.github.com/repos/kamilwu/isi2project-backend/forks","keys_url":"https://api.github.com/repos/kamilwu/isi2project-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kamilwu/isi2project-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kamilwu/isi2project-backend/teams","hooks_url":"https://api.github.com/repos/kamilwu/isi2project-backend/hooks","issue_events_url":"https://api.github.com/repos/kamilwu/isi2project-backend/issues/events{/number}","events_url":"https://api.github.com/repos/kamilwu/isi2project-backend/events","assignees_url":"https://api.github.com/repos/kamilwu/isi2project-backend/assignees{/user}","branches_url":"https://api.github.com/repos/kamilwu/isi2project-backend/branches{/branch}","tags_url":"https://api.github.com/repos/kamilwu/isi2project-backend/tags","blobs_url":"https://api.github.com/repos/kamilwu/isi2project-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kamilwu/isi2project-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kamilwu/isi2project-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/kamilwu/isi2project-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kamilwu/isi2project-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/kamilwu/isi2project-backend/languages","stargazers_url":"https://api.github.com/repos/kamilwu/isi2project-backend/stargazers","contributors_url":"https://api.github.com/repos/kamilwu/isi2project-backend/contributors","subscribers_url":"https://api.github.com/repos/kamilwu/isi2project-backend/subscribers","subscription_url":"https://api.github.com/repos/kamilwu/isi2project-backend/subscription","commits_url":"https://api.github.com/repos/kamilwu/isi2project-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/kamilwu/isi2project-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/kamilwu/isi2project-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/kamilwu/isi2project-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/kamilwu/isi2project-backend/contents/{+path}","compare_url":"https://api.github.com/repos/kamilwu/isi2project-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kamilwu/isi2project-backend/merges","archive_url":"https://api.github.com/repos/kamilwu/isi2project-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kamilwu/isi2project-backend/downloads","issues_url":"https://api.github.com/repos/kamilwu/isi2project-backend/issues{/number}","pulls_url":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/kamilwu/isi2project-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/kamilwu/isi2project-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kamilwu/isi2project-backend/labels{/name}","releases_url":"https://api.github.com/repos/kamilwu/isi2project-backend/releases{/id}","deployments_url":"https://api.github.com/repos/kamilwu/isi2project-backend/deployments","created_at":"2018-03-26T19:23:15Z","updated_at":"2018-06-26T13:33:40Z","pushed_at":"2018-06-26T19:22:54Z","git_url":"git://github.com/kamilwu/isi2project-backend.git","ssh_url":"git@github.com:kamilwu/isi2project-backend.git","clone_url":"https://github.com/kamilwu/isi2project-backend.git","svn_url":"https://github.com/kamilwu/isi2project-backend","homepage":null,"size":40,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"kamilwu:master","ref":"master","sha":"945d1010b2f26c9863a341b19b10bc86214dc97e","user":{"login":"kamilwu","id":16625383,"node_id":"MDQ6VXNlcjE2NjI1Mzgz","avatar_url":"https://avatars1.githubusercontent.com/u/16625383?v=4","gravatar_id":"","url":"https://api.github.com/users/kamilwu","html_url":"https://github.com/kamilwu","followers_url":"https://api.github.com/users/kamilwu/followers","following_url":"https://api.github.com/users/kamilwu/following{/other_user}","gists_url":"https://api.github.com/users/kamilwu/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilwu/subscriptions","organizations_url":"https://api.github.com/users/kamilwu/orgs","repos_url":"https://api.github.com/users/kamilwu/repos","events_url":"https://api.github.com/users/kamilwu/events{/privacy}","received_events_url":"https://api.github.com/users/kamilwu/received_events","type":"User","site_admin":false},"repo":{"id":126878904,"node_id":"MDEwOlJlcG9zaXRvcnkxMjY4Nzg5MDQ=","name":"isi2project-backend","full_name":"kamilwu/isi2project-backend","owner":{"login":"kamilwu","id":16625383,"node_id":"MDQ6VXNlcjE2NjI1Mzgz","avatar_url":"https://avatars1.githubusercontent.com/u/16625383?v=4","gravatar_id":"","url":"https://api.github.com/users/kamilwu","html_url":"https://github.com/kamilwu","followers_url":"https://api.github.com/users/kamilwu/followers","following_url":"https://api.github.com/users/kamilwu/following{/other_user}","gists_url":"https://api.github.com/users/kamilwu/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilwu/subscriptions","organizations_url":"https://api.github.com/users/kamilwu/orgs","repos_url":"https://api.github.com/users/kamilwu/repos","events_url":"https://api.github.com/users/kamilwu/events{/privacy}","received_events_url":"https://api.github.com/users/kamilwu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kamilwu/isi2project-backend","description":"Backend for Meeter app","fork":false,"url":"https://api.github.com/repos/kamilwu/isi2project-backend","forks_url":"https://api.github.com/repos/kamilwu/isi2project-backend/forks","keys_url":"https://api.github.com/repos/kamilwu/isi2project-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kamilwu/isi2project-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kamilwu/isi2project-backend/teams","hooks_url":"https://api.github.com/repos/kamilwu/isi2project-backend/hooks","issue_events_url":"https://api.github.com/repos/kamilwu/isi2project-backend/issues/events{/number}","events_url":"https://api.github.com/repos/kamilwu/isi2project-backend/events","assignees_url":"https://api.github.com/repos/kamilwu/isi2project-backend/assignees{/user}","branches_url":"https://api.github.com/repos/kamilwu/isi2project-backend/branches{/branch}","tags_url":"https://api.github.com/repos/kamilwu/isi2project-backend/tags","blobs_url":"https://api.github.com/repos/kamilwu/isi2project-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kamilwu/isi2project-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kamilwu/isi2project-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/kamilwu/isi2project-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kamilwu/isi2project-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/kamilwu/isi2project-backend/languages","stargazers_url":"https://api.github.com/repos/kamilwu/isi2project-backend/stargazers","contributors_url":"https://api.github.com/repos/kamilwu/isi2project-backend/contributors","subscribers_url":"https://api.github.com/repos/kamilwu/isi2project-backend/subscribers","subscription_url":"https://api.github.com/repos/kamilwu/isi2project-backend/subscription","commits_url":"https://api.github.com/repos/kamilwu/isi2project-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/kamilwu/isi2project-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/kamilwu/isi2project-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/kamilwu/isi2project-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/kamilwu/isi2project-backend/contents/{+path}","compare_url":"https://api.github.com/repos/kamilwu/isi2project-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kamilwu/isi2project-backend/merges","archive_url":"https://api.github.com/repos/kamilwu/isi2project-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kamilwu/isi2project-backend/downloads","issues_url":"https://api.github.com/repos/kamilwu/isi2project-backend/issues{/number}","pulls_url":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/kamilwu/isi2project-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/kamilwu/isi2project-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kamilwu/isi2project-backend/labels{/name}","releases_url":"https://api.github.com/repos/kamilwu/isi2project-backend/releases{/id}","deployments_url":"https://api.github.com/repos/kamilwu/isi2project-backend/deployments","created_at":"2018-03-26T19:23:15Z","updated_at":"2018-06-26T13:33:40Z","pushed_at":"2018-06-26T19:22:54Z","git_url":"git://github.com/kamilwu/isi2project-backend.git","ssh_url":"git@github.com:kamilwu/isi2project-backend.git","clone_url":"https://github.com/kamilwu/isi2project-backend.git","svn_url":"https://github.com/kamilwu/isi2project-backend","homepage":null,"size":40,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/8"},"html":{"href":"https://github.com/kamilwu/isi2project-backend/pull/8"},"issue":{"href":"https://api.github.com/repos/kamilwu/isi2project-backend/issues/8"},"comments":{"href":"https://api.github.com/repos/kamilwu/isi2project-backend/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kamilwu/isi2project-backend/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/kamilwu/isi2project-backend/statuses/305fa67172a8d51cc4bdfce45a16c0746eef8805"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"kamilwu"}}