Skip to content

Commit

Permalink
feat(gh): don't enrich Done notifications (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
nobe4 authored Jun 18, 2024
1 parent e74c391 commit 372f2d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/gh/enrichments.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ import (
)

func (c *Client) enrichNotification(n *notifications.Notification) error {
if n.Meta.Done {
return nil
}

extra := struct {
User notifications.User `json:"user"`
State string `json:"state"`
Expand Down

0 comments on commit 372f2d3

Please sign in to comment.