store number of games in database
This commit is contained in:
1 parent
d491a30ea7
commit
baadb5ae54
2 files changed
+15
-6
No files matched your search
@@ -97,6 +97,7 @@ db :: Database
|
||||
db = newDatabase
|
||||
& dbPlayers .~ [player]
|
||||
& dbGoalies .~ [goalie]
|
||||
& dbGames .~ 1
|
||||
|
||||
playerJSON :: ByteString
|
||||
playerJSON = [r|
|
||||
@@ -145,4 +146,5 @@ dbJSON = [r|
|
||||
[ |] <> playerJSON <> [r| ]
|
||||
, "goalies":
|
||||
[ |] <> goalieJSON <> [r| ]
|
||||
, "games": 1
|
||||
}|]
|
||||
Reference in new issue
Block a user