Rename reviewer_notes to auto_reject_reason and drop the duplicate #90
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/issue-85-auto-reject-reason"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
posts.reviewer_noteswas written only byreject_blocked_posts(as[auto-rejected] {reason}), andreview_feedback.reviewer_noteswas a never-read duplicate. This renames the post field toauto_reject_reason, drops the feedback column, and removes the vestigialreviewer_notesfield from thePATCH /posts/{id}request body.Changes:
Post.reviewer_notes→Post.auto_reject_reason(its only writer is auto-reject).ReviewFeedback.reviewer_notes.PostUpdatelosesreviewer_notes;PostResponseexposesauto_reject_reason.create_review_feedbackloses itsreviewer_notesparameter.Refs #85