Enha: tx for cron

This commit is contained in:
Grail Finder
2025-07-04 12:25:20 +03:00
parent 71a2d9d747
commit c2d6812230
5 changed files with 38 additions and 41 deletions

View File

@ -251,7 +251,7 @@ func HandleStartGame(w http.ResponseWriter, r *http.Request) {
func HandleJoinRoom(w http.ResponseWriter, r *http.Request) {
roomID := r.URL.Query().Get("id")
room, err := repo.RoomGetByID(r.Context(), roomID)
room, err := repo.RoomGetExtended(r.Context(), roomID)
if err != nil {
abortWithError(w, err.Error())
return