Skip to content

Commit e8f1fd6

Browse files
discard review text from request
1 parent 35434bd commit e8f1fd6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/models/post.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ type ReviewData struct {
8080
Rating float32 `json:"rating" validate:"required,gte=1,lte=5"`
8181
BookTitle string `json:"book_title,omitempty"`
8282
BookAuthor string `json:"book_author,omitempty"`
83-
ReviewText *string `json:"review_text,omitempty"`
8483
}
8584

8685
type PollData struct {

0 commit comments

Comments
 (0)