{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/19490","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/19490/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/19490/comments","events_url":"https://api.github.com/repos/electron/electron/issues/19490/events","html_url":"https://github.com/electron/electron/pull/19490","id":473663618,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAxNzc2MTc4","number":19490,"title":"Notifications. Error passing values to notifications object.","user":{"login":"Josileno","id":22200690,"node_id":"MDQ6VXNlcjIyMjAwNjkw","avatar_url":"https://avatars1.githubusercontent.com/u/22200690?v=4","gravatar_id":"","url":"https://api.github.com/users/Josileno","html_url":"https://github.com/Josileno","followers_url":"https://api.github.com/users/Josileno/followers","following_url":"https://api.github.com/users/Josileno/following{/other_user}","gists_url":"https://api.github.com/users/Josileno/gists{/gist_id}","starred_url":"https://api.github.com/users/Josileno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josileno/subscriptions","organizations_url":"https://api.github.com/users/Josileno/orgs","repos_url":"https://api.github.com/users/Josileno/repos","events_url":"https://api.github.com/users/Josileno/events{/privacy}","received_events_url":"https://api.github.com/users/Josileno/received_events","type":"User","site_admin":false},"labels":[{"id":1243058793,"node_id":"MDU6TGFiZWwxMjQzMDU4Nzkz","url":"https://api.github.com/repos/electron/electron/labels/new-pr%20%F0%9F%8C%B1","name":"new-pr 🌱","color":"8af297","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-07-27T18:12:21Z","updated_at":"2019-07-27T18:20:25Z","closed_at":"2019-07-27T18:20:25Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/electron/electron/pulls/19490","html_url":"https://github.com/electron/electron/pull/19490","diff_url":"https://github.com/electron/electron/pull/19490.diff","patch_url":"https://github.com/electron/electron/pull/19490.patch"},"body":"This way it didn't work for me:\r\n\r\n    let myNotification = new Notification ('Title', {\r\n        body: 'Lorem Ipsum Dolor Sit Amet'\r\n    })\r\n\r\nIt only worked when I decided to try changing the code to:\r\n\r\n    let myNotification = new Notification ({\r\n        title: 'Title',\r\n        body: 'Lorem Ipsum Dolor Sit Amet'\r\n    })\r\n\r\nI hope this helps someone.\r\n"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/515703776","html_url":"https://github.com/electron/electron/pull/19490#issuecomment-515703776","issue_url":"https://api.github.com/repos/electron/electron/issues/19490","id":515703776,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNTcwMzc3Ng==","user":{"login":"MarshallOfSound","id":6634592,"node_id":"MDQ6VXNlcjY2MzQ1OTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6634592?v=4","gravatar_id":"","url":"https://api.github.com/users/MarshallOfSound","html_url":"https://github.com/MarshallOfSound","followers_url":"https://api.github.com/users/MarshallOfSound/followers","following_url":"https://api.github.com/users/MarshallOfSound/following{/other_user}","gists_url":"https://api.github.com/users/MarshallOfSound/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallOfSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallOfSound/subscriptions","organizations_url":"https://api.github.com/users/MarshallOfSound/orgs","repos_url":"https://api.github.com/users/MarshallOfSound/repos","events_url":"https://api.github.com/users/MarshallOfSound/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallOfSound/received_events","type":"User","site_admin":false},"created_at":"2019-07-27T18:20:25Z","updated_at":"2019-07-27T18:20:25Z","author_association":"MEMBER","body":"This document (as mentioned a few lines up) is for renderer process notifications, the api you are changing it to is for the main process.\r\n\r\nThe docs are currently correct"}}
{"actor":{"display_login":"MarshallOfSound"}}