Skip to content

Commit

Permalink
fix: excluding fields from returned json
Browse files Browse the repository at this point in the history
  • Loading branch information
daithihearn committed Jan 28, 2024
1 parent 5d613d4 commit a5627b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/game/game.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ type Game struct {
Name string `bson:"name" json:"name"`
Status Status `bson:"status" json:"status"`
Players []Player `bson:"players" json:"players"`
Dummy []CardName `bson:"dummy" json:"dummy"`
CurrentRound Round `bson:"currentRound" json:"currentRound"`
Completed []Round `bson:"completedRounds" json:"completedRounds"`
Dummy []CardName `bson:"dummy" json:"-"`
CurrentRound Round `bson:"currentRound" json:"-"`
Completed []Round `bson:"completedRounds" json:"-"`
Deck []CardName `bson:"deck" json:"-"`
}

Expand Down

0 comments on commit a5627b9

Please sign in to comment.