{"action":"opened","issue":{"url":"https://api.github.com/repos/d-Rickyy-b/Python-GeizhalsBot/issues/34","repository_url":"https://api.github.com/repos/d-Rickyy-b/Python-GeizhalsBot","labels_url":"https://api.github.com/repos/d-Rickyy-b/Python-GeizhalsBot/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/d-Rickyy-b/Python-GeizhalsBot/issues/34/comments","events_url":"https://api.github.com/repos/d-Rickyy-b/Python-GeizhalsBot/issues/34/events","html_url":"https://github.com/d-Rickyy-b/Python-GeizhalsBot/issues/34","id":333061593,"node_id":"MDU6SXNzdWUzMzMwNjE1OTM=","number":34,"title":"Only fetch wishlists / products from database which are subscribed","user":{"login":"d-Rickyy-b","id":5798157,"node_id":"MDQ6VXNlcjU3OTgxNTc=","avatar_url":"https://avatars1.githubusercontent.com/u/5798157?v=4","gravatar_id":"","url":"https://api.github.com/users/d-Rickyy-b","html_url":"https://github.com/d-Rickyy-b","followers_url":"https://api.github.com/users/d-Rickyy-b/followers","following_url":"https://api.github.com/users/d-Rickyy-b/following{/other_user}","gists_url":"https://api.github.com/users/d-Rickyy-b/gists{/gist_id}","starred_url":"https://api.github.com/users/d-Rickyy-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-Rickyy-b/subscriptions","organizations_url":"https://api.github.com/users/d-Rickyy-b/orgs","repos_url":"https://api.github.com/users/d-Rickyy-b/repos","events_url":"https://api.github.com/users/d-Rickyy-b/events{/privacy}","received_events_url":"https://api.github.com/users/d-Rickyy-b/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-17T13:09:06Z","updated_at":"2018-06-17T13:09:06Z","closed_at":null,"author_association":"OWNER","body":"Currently the price for a wishlist / product is updated even if nobody subscribed to it.\r\nThis can be acheived with the following SQL statement.\r\n\r\n```SQL\r\nSELECT DISTINCT wl.wishlist_id, wl.name, wl.price, wl.url\r\nFROM wishlists as wl\r\nINNER JOIN wishlist_subscribers as ws\r\nON wl.wishlist_id=ws.wishlist_id;\r\n```"}}
{"actor":{"display_login":"d-Rickyy-b"}}