{"action":"created","issue":{"url":"https://api.github.com/repos/scottopolis/wpIonic/issues/39","repository_url":"https://api.github.com/repos/scottopolis/wpIonic","labels_url":"https://api.github.com/repos/scottopolis/wpIonic/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/scottopolis/wpIonic/issues/39/comments","events_url":"https://api.github.com/repos/scottopolis/wpIonic/issues/39/events","html_url":"https://github.com/scottopolis/wpIonic/issues/39","id":307894575,"number":39,"title":"not connect Woocommerce","user":{"login":"wubuyun","id":35350235,"avatar_url":"https://avatars1.githubusercontent.com/u/35350235?v=4","gravatar_id":"","url":"https://api.github.com/users/wubuyun","html_url":"https://github.com/wubuyun","followers_url":"https://api.github.com/users/wubuyun/followers","following_url":"https://api.github.com/users/wubuyun/following{/other_user}","gists_url":"https://api.github.com/users/wubuyun/gists{/gist_id}","starred_url":"https://api.github.com/users/wubuyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wubuyun/subscriptions","organizations_url":"https://api.github.com/users/wubuyun/orgs","repos_url":"https://api.github.com/users/wubuyun/repos","events_url":"https://api.github.com/users/wubuyun/events{/privacy}","received_events_url":"https://api.github.com/users/wubuyun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-23T03:56:43Z","updated_at":"2018-03-26T18:11:04Z","closed_at":null,"author_association":"NONE","body":"import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class Configure {\r\n\r\n\t// replace with your WordPress site URL. Must be HTTPS for production.\r\n\turl: string = 'https://yanz.com.br/'\r\n\r\n\tconstructor(public http: HttpClient) {\r\n\t}\r\n\r\n\tgetUrl() {\r\n\t\treturn this.url;\r\n\t}\r\n\r\n\t/*\r\n\t * The WooCommerce REST API requires authorization. Basic auth requires a base64 encoded string of 'Basic ' + btoa('key:secret') \r\n\t * Replace the Authorization header below with your own by base64 encoding your consumer key and secret key which you can get in the WooCommerce settings: http://woocommerce.github.io/woocommerce-rest-api-docs/#rest-api-keys\r\n\t * Must use HTTPS for basic auth.\r\n\t */\r\n\tgetAuth() {\r\nreturn 'Basic YWRtaW4gY2tfOGVlMzhhMWI5ZDQ5YzY0Y2E1NjE1NGJmN2EzM2VhMTkyOGFkNjkwNTpjc19kYTJjMGYwOTdmN2RiOTliOWMwNzllZDcyMWE3ZDRmZTdjMjAxN2Q2';\r\n\t}\r\n\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/scottopolis/wpIonic/issues/comments/376260095","html_url":"https://github.com/scottopolis/wpIonic/issues/39#issuecomment-376260095","issue_url":"https://api.github.com/repos/scottopolis/wpIonic/issues/39","id":376260095,"user":{"login":"scottopolis","id":5324977,"avatar_url":"https://avatars1.githubusercontent.com/u/5324977?v=4","gravatar_id":"","url":"https://api.github.com/users/scottopolis","html_url":"https://github.com/scottopolis","followers_url":"https://api.github.com/users/scottopolis/followers","following_url":"https://api.github.com/users/scottopolis/following{/other_user}","gists_url":"https://api.github.com/users/scottopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/scottopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottopolis/subscriptions","organizations_url":"https://api.github.com/users/scottopolis/orgs","repos_url":"https://api.github.com/users/scottopolis/repos","events_url":"https://api.github.com/users/scottopolis/events{/privacy}","received_events_url":"https://api.github.com/users/scottopolis/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T18:11:04Z","updated_at":"2018-03-26T18:11:04Z","author_association":"OWNER","body":"I'm not able to replicate this issue. If you are able to provide console logs with specific error messages I can try to help."}}
{"actor":{"display_login":"scottopolis"}}