feat(sdbapi): return EndedAt from gameinfo
1 files changed, 1 insertions(+), 1 deletions(-) M sdbapi/handlers/gameinfo.go
M sdbapi/handlers/gameinfo.go => sdbapi/handlers/gameinfo.go +1 -1
@@ 29,5 29,5 @@ func GameInfo(c *gin.Context) { return } - c.JSON(http.StatusOK, gin.H{"id": game.ID, "state": game.State, "p1": game.P1, "p2": game.P2}) + c.JSON(http.StatusOK, gin.H{"id": game.ID, "state": game.State, "p1": game.P1, "p2": game.P2, "ended_at": game.EndedAt}) }