We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1dec1 commit 53a8b45Copy full SHA for 53a8b45
cmd/miniflux-discord/miniflux.go
@@ -48,3 +48,5 @@ type WebhookNewEntriesEvent struct {
48
Feed *WebhookFeed `json:"feed"`
49
Entries []*WebhookEntry `json:"entries"`
50
}
51
+
52
+const NewEntriesEventType = "new_entries"
cmd/miniflux-discord/webhook.go
@@ -7,8 +7,6 @@ import (
7
"net/http"
8
)
9
10
-const NewEntriesEventType = "new_entries"
11
-
12
func serve(w http.ResponseWriter, req *http.Request) {
13
if req.Method != http.MethodPost {
14
w.WriteHeader(http.StatusMethodNotAllowed)
0 commit comments