Skip to content

Commit

Permalink
Comment out unknown types.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaito2 authored and kaito2 committed Jul 30, 2022
1 parent af57f16 commit 04326b2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ type Body struct {
Homepage string `json:"homepage"`
FeedURL string `json:"feed_url"`
AdditionalDetails struct {
Language string `json:"language"`
Categories []string `json:"categories"`
Authors []string `json:"authors"`
Copyright interface{} `json:"copyright"`
Language string `json:"language"`
// NOTE: The type is not specified in the documentation.
// Categories []any `json:"categories"`
// NOTE: The type is not specified in the documentation.
// Authors []any `json:"authors"`
// NOTE: The type is not specified in the documentation.
Copyright *string `json:"copyright"`
} `json:"additional_details"`
} `json:"feed"`
NewEntries []struct {
Expand Down

0 comments on commit 04326b2

Please sign in to comment.