refactor: update references to VoteRequest

This commit is contained in:
2025-11-23 14:26:45 +01:00
parent 07ac965b3d
commit db0369225e
2 changed files with 4 additions and 4 deletions

View File

@@ -788,7 +788,7 @@ func createUpdatePostRequest(body string) *http.Request {
}
func createVoteRequest(body string) *http.Request {
return createRequestWithDTO[dto.VoteRequest](http.MethodPost, "/api/posts/1/vote", []byte(body))
return createRequestWithDTO[dto.CastVoteRequest](http.MethodPost, "/api/posts/1/vote", []byte(body))
}
func TestParsePagination(t *testing.T) {