File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ type NotificationUser struct {
9
9
Identifier primitive.ObjectID `json:"_id" bson:"_id,omitempty"`
10
10
UserId primitive.ObjectID `json:"user_id" bson:"user_id,omitempty"`
11
11
Token string `json:"token" bson:"token"`
12
- Settings NotificationSettings `json:"settings" bson:"settings"`
12
+ Settings NotificationSettings `json:"settings,omitempty " bson:"settings"`
13
13
Device Device `json:"device" bson:"device"`
14
14
AddedAt time.Time `json:"added_at,omitempty" bson:"added_at,omitempty"`
15
15
UpdatedAt time.Time `json:"updated_at,omitempty" bson:"updated_at,omitempty"`
16
16
}
17
17
18
18
type NotificationSettings struct {
19
- Athlete bool `json:"token " bson:"token "`
19
+ Athlete bool `json:"athlete " bson:"athlete "`
20
20
Favourites bool `json:"favourites" bson:"favourites"`
21
21
Meeting bool `json:"meeting" bson:"meeting"`
22
22
Schedule bool `json:"schedule" bson:"schedule"`
You can’t perform that action at this time.
0 commit comments