downvote with reason (#24922)

This commit is contained in:
znn
2025-09-02 07:27:04 +05:30
committed by GitHub
parent 84d09b8b8a
commit dd6547de06
6 changed files with 59 additions and 6 deletions

View File

@@ -102,7 +102,7 @@ const Result: FC<IResultProps> = ({
})
const handleFeedback = async (feedback: FeedbackType) => {
await updateFeedback({ url: `/messages/${messageId}/feedbacks`, body: { rating: feedback.rating } }, isInstalledApp, installedAppInfo?.id)
await updateFeedback({ url: `/messages/${messageId}/feedbacks`, body: { rating: feedback.rating, content: feedback.content } }, isInstalledApp, installedAppInfo?.id)
setFeedback(feedback)
}