The game list is refreshed when synced
This commit is contained in:
@@ -15,6 +15,7 @@ func NewSync() *Sync {
|
||||
|
||||
func (s *Sync) SyncGames(ctx *gin.Context) {
|
||||
server.SyncGames()
|
||||
server.Reset()
|
||||
ctx.JSON(http.StatusOK, "Games are synced")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user