wolfy1339
wolfy1339
We don't send rawdata in the headers, only in the payload. (At least not from what I see) https://github.com/probot/smee.io/commit/8c33d74f250c910b3deda2e498b11ade5645c580
Can you provide the full complete reproduction steps? Start with how you set up the server, how did you set up the client, what version of Node are you using?...
Thanks for that. I see how this ended up in the headers. https://github.com/probot/smee-client/blob/cc2cf2f4a5a0f5d467e838d97a6cc0594f95a445/index.ts#L64-L66 This solution unfortunately does not fix the root cause. A new solution will have to be found...
Can you try changing line 82 so it looks like this ```ts headers["content-type"] = "application/json; charset=utf-8"; ``` Are you sending the payload as JSON or urlencoded?
`Date` is being overridden by `@sinonjs/fake-timers`, which is intended. However it shouldn't stay at `0`, it should increment by the time argument passed to `clock.tickAsync() `
in this case, `createdAt` should be zero, that is the intended behaviour. The mock `Date` is set to `0`, and we increment the clock after creating the token
@gr2m Might know more
The types are auto-generated, the issue doesn't lie within this repo. To get this fixed, file an issue at this repo: https://github.com/github/rest-api-description/ and link back to it here
Hi, is this still an issue with the latest versions of the Octokit libs?
Feel free to contribute to a new docs page. There isn't a set timeline