refactor: use consistent naming (VoteRequest -> CastVoteRequest)
This commit is contained in:
@@ -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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user