GitHub PullRequestReviewCommentEvent at 2014-01-23 06:57:38
Repository: lastuser
Actor: jace
Payload: {"comment":{"url":"https://api.github.com/repos/hasgeek/lastuser/pulls/comments/9104483","id":9104483,"diff_hunk":"@@ -148,6 +150,58 @@ def token_verify():\n     return api_result('ok', **params)\n \n \n+@lastuser_oauth.route('/api/1/resource/sync', methods=['POST'])\n+@requires_client_login\n+@requestargs('resources')\n+def sync_resources(resources):\n+    resources = json.loads(resources)\n+    client = Client.get(key=request.authorization.username)\n+\n+    resources_list = []\n+    actions_list = {}\n+\n+    for name in resources:\n+        if '/' in name:\n+            parts = name.split('/')\n+            if len(parts) != 2:\n+                results['errors'][name] = \"Invalid scope %s\" % name","path":"lastuser_oauth/views/resource.py","position":42,"original_position":42,"commit_id":"8787b74552a7c7ae8e19b877a9a3c1be21932431","original_commit_id":"8787b74552a7c7ae8e19b877a9a3c1be21932431","user":{"login":"jace","id":26695,"avatar_url":"https://gravatar.com/avatar/345fa2747dca9a27c219578b91286e21?d=https%3A%2F%2Fidenticons.github.com%2Fff0a431a29c728e766168d412be85567.png&r=x","gravatar_id":"345fa2747dca9a27c219578b91286e21","url":"https://api.github.com/users/jace","html_url":"https://github.com/jace","followers_url":"https://api.github.com/users/jace/followers","following_url":"https://api.github.com/users/jace/following{/other_user}","gists_url":"https://api.github.com/users/jace/gists{/gist_id}","starred_url":"https://api.github.com/users/jace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jace/subscriptions","organizations_url":"https://api.github.com/users/jace/orgs","repos_url":"https://api.github.com/users/jace/repos","events_url":"https://api.github.com/users/jace/events{/privacy}","received_events_url":"https://api.github.com/users/jace/received_events","type":"User","site_admin":false},"body":"`results` isn't defined yet.","created_at":"2014-01-23T06:57:38Z","updated_at":"2014-01-23T06:57:38Z","html_url":"https://github.com/hasgeek/lastuser/pull/102#discussion_r9104483","pull_request_url":"https://api.github.com/repos/hasgeek/lastuser/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/hasgeek/lastuser/pulls/comments/9104483"},"html":{"href":"https://github.com/hasgeek/lastuser/pull/102#discussion_r9104483"},"pull_request":{"href":"https://api.github.com/repos/hasgeek/lastuser/pulls/102"}}}}