We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Gitea, when the webhook sends a push event, the following error occurs while parsing the event data:
json: cannot unmarshal string into Go struct field .repository.created_at of type int64
The mentioned element looks like this:
"created_at": "2024-07-31T22:08:54+02:00",
Could it be that a unix/epoch timestamp as an integer is expected here but a datetime string is returned instead?
The text was updated successfully, but these errors were encountered:
Yeah, it's expecting a unix epoch time. Example can be seen here
webhooks/testdata/github/push.json
Line 134 in 02d182a
Sorry, something went wrong.
No branches or pull requests
Using Gitea, when the webhook sends a push event, the following error occurs while parsing the event data:
The mentioned element looks like this:
Could it be that a unix/epoch timestamp as an integer is expected here but a datetime string is returned instead?
The text was updated successfully, but these errors were encountered: