Skip to content

Commit

Permalink
chore: add feature image to item struct (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Salaton committed Sep 17, 2021
1 parent dcdc4ba commit 00de5a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engagement.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ type Item struct {

// How the user should be notified of this new item, if at all
NotificationChannels []Channel `json:"notificationChannels,omitempty" firestore:"notificationChannels,omitempty"`

// FeatureImage represents the image associated to a post
FeatureImage string `json:"feature_image"`
}

// ValidateAndUnmarshal checks that the input data is valid as per the
Expand Down

0 comments on commit 00de5a1

Please sign in to comment.