feat: add feedback existence check and update API spec for feedback submission

This commit is contained in:
gabdevele
2026-06-18 19:29:35 +02:00 Unverified
parent 21f8ccbecc
commit 59cd6f34cb
3 changed files with 26 additions and 9 deletions
+2 -1
View File
@@ -57,7 +57,8 @@ void sendService(Json::Value body,
else if (error == "invalid_status_transition" ||
error == "media_limit_reached" ||
error == "report_not_open" ||
error == "report_owned_by_other_operator")
error == "report_owned_by_other_operator" ||
error == "feedback_already_exists")
{
status = drogon::k409Conflict;
}