Commit 76967f6c authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Fix issue for HTTP code response

parent 43e0839f
...@@ -74,7 +74,7 @@ void NFStatusNotifyApiImpl::receive_nf_status_notification( ...@@ -74,7 +74,7 @@ void NFStatusNotifyApiImpl::receive_nf_status_notification(
if (m_smf_app->handle_nf_status_notification( if (m_smf_app->handle_nf_status_notification(
itti_msg, problem_details, http_code)) { itti_msg, problem_details, http_code)) {
response.send(Pistache::Http::Code(HTTP_STATUS_CODE_204_NO_CONTENT)); response.send(Pistache::Http::Code(204));
} else { } else {
nlohmann::json json_data = {}; nlohmann::json json_data = {};
to_json(json_data, problem_details); to_json(json_data, problem_details);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment