mirror of
https://github.com/appleboy/drone-discord.git
synced 2026-06-04 10:23:47 +08:00
fix: fix error handling for empty HTTP responses
- Change the condition to check for `http.StatusNoContent` instead of `http.StatusOK` before returning an error. Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
Reference in New Issue
Block a user