mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 03:37:43 +00:00
omit live activity fields when they're empty
This commit is contained in:
parent
2352e146c3
commit
6e668e538c
1 changed files with 5 additions and 5 deletions
|
@ -24,11 +24,11 @@ import (
|
|||
type DynamicIslandNotification struct {
|
||||
PostCommentCount int `json:"postTotalComments"`
|
||||
PostScore int64 `json:"postScore"`
|
||||
CommentID string `json:"commentId"`
|
||||
CommentAuthor string `json:"commentAuthor"`
|
||||
CommentBody string `json:"commentBody"`
|
||||
CommentAge int64 `json:"commentAge"`
|
||||
CommentScore int64 `json:"commentScore"`
|
||||
CommentID string `json:"commentId,omitempty"`
|
||||
CommentAuthor string `json:"commentAuthor,omitempty"`
|
||||
CommentBody string `json:"commentBody,omitempty"`
|
||||
CommentAge int64 `json:"commentAge,omitempty"`
|
||||
CommentScore int64 `json:"commentScore,omitempty"`
|
||||
}
|
||||
|
||||
type liveActivitiesWorker struct {
|
||||
|
|
Loading…
Reference in a new issue