feat: add feedback existence check and update API spec for feedback submission
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user