Fix: timers and styles

This commit is contained in:
Grail Finder
2025-07-16 11:06:13 +03:00
parent ccf0b8538f
commit 995f9f6249
8 changed files with 68 additions and 18 deletions

View File

@ -12,7 +12,7 @@ func StartTurnTimer(roomID string, timeLeft uint32) {
logger := slog.Default().With("room_id", roomID)
onTurnEnd := func(ctx context.Context, roomID string) {
room, err := repo.RoomGetByID(context.Background(), roomID)
room, err := repo.RoomGetExtended(context.Background(), roomID)
if err != nil {
logger.Error("failed to get room by id", "error", err)
return
@ -36,4 +36,5 @@ func StartTurnTimer(roomID string, timeLeft uint32) {
func StopTurnTimer(roomID string) {
timer.StopTurnTimer(roomID)
}
}