{"action":"created","issue":{"url":"https://api.github.com/repos/Flubit/skucloud-seller-api-client-php/issues/27","repository_url":"https://api.github.com/repos/Flubit/skucloud-seller-api-client-php","labels_url":"https://api.github.com/repos/Flubit/skucloud-seller-api-client-php/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/Flubit/skucloud-seller-api-client-php/issues/27/comments","events_url":"https://api.github.com/repos/Flubit/skucloud-seller-api-client-php/issues/27/events","html_url":"https://github.com/Flubit/skucloud-seller-api-client-php/issues/27","id":317944628,"number":27,"title":"PATCH","user":{"login":"oliverburton","id":9962463,"avatar_url":"https://avatars1.githubusercontent.com/u/9962463?v=4","gravatar_id":"","url":"https://api.github.com/users/oliverburton","html_url":"https://github.com/oliverburton","followers_url":"https://api.github.com/users/oliverburton/followers","following_url":"https://api.github.com/users/oliverburton/following{/other_user}","gists_url":"https://api.github.com/users/oliverburton/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverburton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverburton/subscriptions","organizations_url":"https://api.github.com/users/oliverburton/orgs","repos_url":"https://api.github.com/users/oliverburton/repos","events_url":"https://api.github.com/users/oliverburton/events{/privacy}","received_events_url":"https://api.github.com/users/oliverburton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-26T09:20:36Z","updated_at":"2018-04-28T04:15:18Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\nthe patch function isn't working as expected in the ApiClient.php\r\n\r\nI replaced it with the following locally and it's working \r\n\r\n```\r\n  public function patch($endpoint, $body, array $params = [])\r\n    {\r\n     \r\n        $token = $this->generateAuthToken();\r\n        $request = $this->client->createRequest('PATCH', $this->buildUrl($endpoint, $params),\r\n            ['headers' => ['auth-token' => $token,\r\n                           'Content-Type' => self::$allowedFormats[$this->format]\r\n                          ]\r\n            ]);\r\n        $bodyStream = Stream::factory($body);\r\n        $request->setBody($bodyStream);\r\n\r\n    \r\n        return $this->call($request);\r\n    }\r\n\r\n    \r\n```"},"comment":{"url":"https://api.github.com/repos/Flubit/skucloud-seller-api-client-php/issues/comments/385138810","html_url":"https://github.com/Flubit/skucloud-seller-api-client-php/issues/27#issuecomment-385138810","issue_url":"https://api.github.com/repos/Flubit/skucloud-seller-api-client-php/issues/27","id":385138810,"user":{"login":"sp3c1","id":4508208,"avatar_url":"https://avatars0.githubusercontent.com/u/4508208?v=4","gravatar_id":"","url":"https://api.github.com/users/sp3c1","html_url":"https://github.com/sp3c1","followers_url":"https://api.github.com/users/sp3c1/followers","following_url":"https://api.github.com/users/sp3c1/following{/other_user}","gists_url":"https://api.github.com/users/sp3c1/gists{/gist_id}","starred_url":"https://api.github.com/users/sp3c1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp3c1/subscriptions","organizations_url":"https://api.github.com/users/sp3c1/orgs","repos_url":"https://api.github.com/users/sp3c1/repos","events_url":"https://api.github.com/users/sp3c1/events{/privacy}","received_events_url":"https://api.github.com/users/sp3c1/received_events","type":"User","site_admin":false},"created_at":"2018-04-28T04:15:17Z","updated_at":"2018-04-28T04:15:17Z","author_association":"NONE","body":"@chrishowarth "}}
{"actor":{"display_login":"sp3c1"}}