-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
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
Discord hooks can't be delivered since today #22391
Comments
Interesting, not sure if this is new on the Discord API side or what. |
techknowlogick
pushed a commit
that referenced
this issue
Jan 10, 2023
Fixes #22391 This field is optional for Discord, however when it exists in the payload it is now validated. Omitting it entirely just makes Discord use the default for that webhook, which is set on the Discord side. Signed-off-by: jolheiser <john.olheiser@gmail.com>
jolheiser
added a commit
to jolheiser/gitea
that referenced
this issue
Jan 10, 2023
Fixes go-gitea#22391 This field is optional for Discord, however when it exists in the payload it is now validated. Omitting it entirely just makes Discord use the default for that webhook, which is set on the Discord side. Signed-off-by: jolheiser <john.olheiser@gmail.com>
jolheiser
added a commit
to jolheiser/gitea
that referenced
this issue
Jan 10, 2023
Fixes go-gitea#22391 This field is optional for Discord, however when it exists in the payload it is now validated. Omitting it entirely just makes Discord use the default for that webhook, which is set on the Discord side. Signed-off-by: jolheiser <john.olheiser@gmail.com>
This fix should land in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
With empty icon url discord answer this
{"avatar_url": ["Scheme "" is not supported. Scheme must be one of ('http', 'https')."]}
Maybe set this field to favicon if icon url is empty? Manual update all hooks it's not i want to do.
Gitea Version
1.17.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
gitea.service
Database
SQLite
The text was updated successfully, but these errors were encountered: