refactor: use consistent naming (VoteRequest -> CastVoteRequest)

This commit is contained in:
2025-11-23 14:26:19 +01:00
parent e2e5d42035
commit 07ac965b3d

View File

@@ -6,7 +6,7 @@ import (
"goyco/internal/database" "goyco/internal/database"
) )
type VoteRequest struct { type CastVoteRequest struct {
Type string `json:"type" validate:"required,oneof=up down none"` Type string `json:"type" validate:"required,oneof=up down none"`
} }