Bug Fixes (#382)
* fix: error messages and run all tests (#381) * feat: Automatically open fold under cursor (#380) * fix: discussion ID is not required (#383) This is a #PATCH release. --------- Co-authored-by: George Kontridze <george.kontridze@gmail.com> Co-authored-by: Jakub F. Bortlík <jakub.bortlik@proton.me>
This commit is contained in:
committed by
GitHub
parent
5c9b88db4f
commit
38bde8a0e4
@@ -90,7 +90,7 @@ func (a draftNoteService) listDraftNotes(w http.ResponseWriter, r *http.Request)
|
||||
|
||||
type PostDraftNoteRequest struct {
|
||||
Comment string `json:"comment" validate:"required"`
|
||||
DiscussionId string `json:"discussion_id,omitempty" validate:"required"`
|
||||
DiscussionId string `json:"discussion_id,omitempty"`
|
||||
PositionData // TODO: How to add validations to data from external package???
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user