GitHub PullRequestReviewCommentEvent at 2014-03-18 16:22:09
Repository: zamboni
Actor: kumar303
Payload: {"comment":{"url":"https://api.github.com/repos/mozilla/zamboni/pulls/comments/10711002","id":10711002,"diff_hunk":"@@ -58,12 +58,24 @@ def post(self, request, *args, **kwargs):\n             return Response('Payments are limited and flag not enabled',\n                             status=status.HTTP_403_FORBIDDEN)\n \n-        try:\n-            data = _prepare_pay(request._request, app)\n-        except AlreadyPurchased:\n+        if app.is_premium() and app.has_purchased(request._request.amo_user):","path":"mkt/webpay/resources.py","position":26,"original_position":26,"commit_id":"a15e31a7d51a8e4bd472a58618af6e42f080516b","original_commit_id":"a15e31a7d51a8e4bd472a58618af6e42f080516b","user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars.githubusercontent.com/u/55398?","gravatar_id":"3e7e975f0fa432f4ae6604f72c132309","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"body":"Do the tests cover the case when a non premium app is pushed through here?","created_at":"2014-03-18T16:22:09Z","updated_at":"2014-03-18T16:22:09Z","html_url":"https://github.com/mozilla/zamboni/pull/1867#discussion_r10711002","pull_request_url":"https://api.github.com/repos/mozilla/zamboni/pulls/1867","_links":{"self":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/comments/10711002"},"html":{"href":"https://github.com/mozilla/zamboni/pull/1867#discussion_r10711002"},"pull_request":{"href":"https://api.github.com/repos/mozilla/zamboni/pulls/1867"}}}}