The game list is refreshed when synced

This commit is contained in:
2022-04-23 17:42:44 +02:00
parent f7b4005159
commit abdce7b103

View File

@@ -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")
}