{"action":"created","comment":{"url":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/comments/129230685","pull_request_review_id":51980006,"id":129230685,"diff_hunk":"@@ -85,6 +85,35 @@ def put(self, address_id):\n             return '', BAD_REQUEST\n \n     @auth.login_required\n+    def patch(self, address_id):\n+        try:\n+            address = (\n+                Address.select()\n+                .where(Address.uuid == address_id)\n+                .where(Address.user == g.current_user)\n+                .get())\n+        except Address.DoesNotExist:\n+            return None, NOT_FOUND\n+\n+        parser = reqparse.RequestParser()","path":"views/address.py","position":14,"original_position":14,"commit_id":"a1a8a7bbc828a077ad8eacaca945d32c7fa9464e","original_commit_id":"a1a8a7bbc828a077ad8eacaca945d32c7fa9464e","user":{"login":"gvaldambrini","id":2461921,"avatar_url":"https://avatars0.githubusercontent.com/u/2461921?v=4","gravatar_id":"","url":"https://api.github.com/users/gvaldambrini","html_url":"https://github.com/gvaldambrini","followers_url":"https://api.github.com/users/gvaldambrini/followers","following_url":"https://api.github.com/users/gvaldambrini/following{/other_user}","gists_url":"https://api.github.com/users/gvaldambrini/gists{/gist_id}","starred_url":"https://api.github.com/users/gvaldambrini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvaldambrini/subscriptions","organizations_url":"https://api.github.com/users/gvaldambrini/orgs","repos_url":"https://api.github.com/users/gvaldambrini/repos","events_url":"https://api.github.com/users/gvaldambrini/events{/privacy}","received_events_url":"https://api.github.com/users/gvaldambrini/received_events","type":"User","site_admin":false},"body":"usiamo la verify_json come già fatto nelle altre parti di address","created_at":"2017-07-25T07:30:44Z","updated_at":"2017-07-25T07:31:49Z","html_url":"https://github.com/mwcschool/ecommerce_api/pull/108#discussion_r129230685","pull_request_url":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/comments/129230685"},"html":{"href":"https://github.com/mwcschool/ecommerce_api/pull/108#discussion_r129230685"},"pull_request":{"href":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/108","id":131804718,"html_url":"https://github.com/mwcschool/ecommerce_api/pull/108","diff_url":"https://github.com/mwcschool/ecommerce_api/pull/108.diff","patch_url":"https://github.com/mwcschool/ecommerce_api/pull/108.patch","issue_url":"https://api.github.com/repos/mwcschool/ecommerce_api/issues/108","number":108,"state":"open","locked":false,"title":"93 patch address","user":{"login":"lucaarrey","id":27857802,"avatar_url":"https://avatars1.githubusercontent.com/u/27857802?v=4","gravatar_id":"","url":"https://api.github.com/users/lucaarrey","html_url":"https://github.com/lucaarrey","followers_url":"https://api.github.com/users/lucaarrey/followers","following_url":"https://api.github.com/users/lucaarrey/following{/other_user}","gists_url":"https://api.github.com/users/lucaarrey/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaarrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaarrey/subscriptions","organizations_url":"https://api.github.com/users/lucaarrey/orgs","repos_url":"https://api.github.com/users/lucaarrey/repos","events_url":"https://api.github.com/users/lucaarrey/events{/privacy}","received_events_url":"https://api.github.com/users/lucaarrey/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-21T15:50:13Z","updated_at":"2017-07-25T07:31:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a92973cea25a88d29ea7f6d78f1eae2b178558a8","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/108/commits","review_comments_url":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/108/comments","review_comment_url":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mwcschool/ecommerce_api/issues/108/comments","statuses_url":"https://api.github.com/repos/mwcschool/ecommerce_api/statuses/a1a8a7bbc828a077ad8eacaca945d32c7fa9464e","head":{"label":"lucaarrey:93_patch_address","ref":"93_patch_address","sha":"a1a8a7bbc828a077ad8eacaca945d32c7fa9464e","user":{"login":"lucaarrey","id":27857802,"avatar_url":"https://avatars1.githubusercontent.com/u/27857802?v=4","gravatar_id":"","url":"https://api.github.com/users/lucaarrey","html_url":"https://github.com/lucaarrey","followers_url":"https://api.github.com/users/lucaarrey/followers","following_url":"https://api.github.com/users/lucaarrey/following{/other_user}","gists_url":"https://api.github.com/users/lucaarrey/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaarrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaarrey/subscriptions","organizations_url":"https://api.github.com/users/lucaarrey/orgs","repos_url":"https://api.github.com/users/lucaarrey/repos","events_url":"https://api.github.com/users/lucaarrey/events{/privacy}","received_events_url":"https://api.github.com/users/lucaarrey/received_events","type":"User","site_admin":false},"repo":{"id":90033314,"name":"ecommerce_api","full_name":"lucaarrey/ecommerce_api","owner":{"login":"lucaarrey","id":27857802,"avatar_url":"https://avatars1.githubusercontent.com/u/27857802?v=4","gravatar_id":"","url":"https://api.github.com/users/lucaarrey","html_url":"https://github.com/lucaarrey","followers_url":"https://api.github.com/users/lucaarrey/followers","following_url":"https://api.github.com/users/lucaarrey/following{/other_user}","gists_url":"https://api.github.com/users/lucaarrey/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaarrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaarrey/subscriptions","organizations_url":"https://api.github.com/users/lucaarrey/orgs","repos_url":"https://api.github.com/users/lucaarrey/repos","events_url":"https://api.github.com/users/lucaarrey/events{/privacy}","received_events_url":"https://api.github.com/users/lucaarrey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucaarrey/ecommerce_api","description":null,"fork":true,"url":"https://api.github.com/repos/lucaarrey/ecommerce_api","forks_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/forks","keys_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/teams","hooks_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/hooks","issue_events_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/issues/events{/number}","events_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/events","assignees_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/assignees{/user}","branches_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/branches{/branch}","tags_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/tags","blobs_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/statuses/{sha}","languages_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/languages","stargazers_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/stargazers","contributors_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/contributors","subscribers_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/subscribers","subscription_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/subscription","commits_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/contents/{+path}","compare_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/merges","archive_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/downloads","issues_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/issues{/number}","pulls_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/pulls{/number}","milestones_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/milestones{/number}","notifications_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/labels{/name}","releases_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/releases{/id}","deployments_url":"https://api.github.com/repos/lucaarrey/ecommerce_api/deployments","created_at":"2017-05-02T12:54:36Z","updated_at":"2017-05-02T12:54:38Z","pushed_at":"2017-07-21T15:59:07Z","git_url":"git://github.com/lucaarrey/ecommerce_api.git","ssh_url":"git@github.com:lucaarrey/ecommerce_api.git","clone_url":"https://github.com/lucaarrey/ecommerce_api.git","svn_url":"https://github.com/lucaarrey/ecommerce_api","homepage":null,"size":129,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mwcschool:master","ref":"master","sha":"022c49b641e011f04c2cf2a5a82df8d5220c09a5","user":{"login":"mwcschool","id":28253621,"avatar_url":"https://avatars2.githubusercontent.com/u/28253621?v=4","gravatar_id":"","url":"https://api.github.com/users/mwcschool","html_url":"https://github.com/mwcschool","followers_url":"https://api.github.com/users/mwcschool/followers","following_url":"https://api.github.com/users/mwcschool/following{/other_user}","gists_url":"https://api.github.com/users/mwcschool/gists{/gist_id}","starred_url":"https://api.github.com/users/mwcschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwcschool/subscriptions","organizations_url":"https://api.github.com/users/mwcschool/orgs","repos_url":"https://api.github.com/users/mwcschool/repos","events_url":"https://api.github.com/users/mwcschool/events{/privacy}","received_events_url":"https://api.github.com/users/mwcschool/received_events","type":"Organization","site_admin":false},"repo":{"id":89910012,"name":"ecommerce_api","full_name":"mwcschool/ecommerce_api","owner":{"login":"mwcschool","id":28253621,"avatar_url":"https://avatars2.githubusercontent.com/u/28253621?v=4","gravatar_id":"","url":"https://api.github.com/users/mwcschool","html_url":"https://github.com/mwcschool","followers_url":"https://api.github.com/users/mwcschool/followers","following_url":"https://api.github.com/users/mwcschool/following{/other_user}","gists_url":"https://api.github.com/users/mwcschool/gists{/gist_id}","starred_url":"https://api.github.com/users/mwcschool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwcschool/subscriptions","organizations_url":"https://api.github.com/users/mwcschool/orgs","repos_url":"https://api.github.com/users/mwcschool/repos","events_url":"https://api.github.com/users/mwcschool/events{/privacy}","received_events_url":"https://api.github.com/users/mwcschool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mwcschool/ecommerce_api","description":null,"fork":false,"url":"https://api.github.com/repos/mwcschool/ecommerce_api","forks_url":"https://api.github.com/repos/mwcschool/ecommerce_api/forks","keys_url":"https://api.github.com/repos/mwcschool/ecommerce_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwcschool/ecommerce_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwcschool/ecommerce_api/teams","hooks_url":"https://api.github.com/repos/mwcschool/ecommerce_api/hooks","issue_events_url":"https://api.github.com/repos/mwcschool/ecommerce_api/issues/events{/number}","events_url":"https://api.github.com/repos/mwcschool/ecommerce_api/events","assignees_url":"https://api.github.com/repos/mwcschool/ecommerce_api/assignees{/user}","branches_url":"https://api.github.com/repos/mwcschool/ecommerce_api/branches{/branch}","tags_url":"https://api.github.com/repos/mwcschool/ecommerce_api/tags","blobs_url":"https://api.github.com/repos/mwcschool/ecommerce_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwcschool/ecommerce_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwcschool/ecommerce_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwcschool/ecommerce_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwcschool/ecommerce_api/statuses/{sha}","languages_url":"https://api.github.com/repos/mwcschool/ecommerce_api/languages","stargazers_url":"https://api.github.com/repos/mwcschool/ecommerce_api/stargazers","contributors_url":"https://api.github.com/repos/mwcschool/ecommerce_api/contributors","subscribers_url":"https://api.github.com/repos/mwcschool/ecommerce_api/subscribers","subscription_url":"https://api.github.com/repos/mwcschool/ecommerce_api/subscription","commits_url":"https://api.github.com/repos/mwcschool/ecommerce_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwcschool/ecommerce_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwcschool/ecommerce_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwcschool/ecommerce_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwcschool/ecommerce_api/contents/{+path}","compare_url":"https://api.github.com/repos/mwcschool/ecommerce_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwcschool/ecommerce_api/merges","archive_url":"https://api.github.com/repos/mwcschool/ecommerce_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwcschool/ecommerce_api/downloads","issues_url":"https://api.github.com/repos/mwcschool/ecommerce_api/issues{/number}","pulls_url":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls{/number}","milestones_url":"https://api.github.com/repos/mwcschool/ecommerce_api/milestones{/number}","notifications_url":"https://api.github.com/repos/mwcschool/ecommerce_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwcschool/ecommerce_api/labels{/name}","releases_url":"https://api.github.com/repos/mwcschool/ecommerce_api/releases{/id}","deployments_url":"https://api.github.com/repos/mwcschool/ecommerce_api/deployments","created_at":"2017-05-01T08:51:16Z","updated_at":"2017-05-01T09:09:23Z","pushed_at":"2017-07-25T07:27:03Z","git_url":"git://github.com/mwcschool/ecommerce_api.git","ssh_url":"git@github.com:mwcschool/ecommerce_api.git","clone_url":"https://github.com/mwcschool/ecommerce_api.git","svn_url":"https://github.com/mwcschool/ecommerce_api","homepage":null,"size":111,"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":9,"mirror_url":null,"open_issues_count":19,"forks":9,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/108"},"html":{"href":"https://github.com/mwcschool/ecommerce_api/pull/108"},"issue":{"href":"https://api.github.com/repos/mwcschool/ecommerce_api/issues/108"},"comments":{"href":"https://api.github.com/repos/mwcschool/ecommerce_api/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mwcschool/ecommerce_api/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/mwcschool/ecommerce_api/statuses/a1a8a7bbc828a077ad8eacaca945d32c7fa9464e"}}}}
{"actor":{"display_login":"gvaldambrini"}}