Commit 2f8109e4 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen
Browse files

Continue to fix for PDU Session Establishment Reject

parent 89d871b9
......@@ -125,13 +125,13 @@ void SMContextsCollectionApiImpl::post_sm_contexts(
response.headers().add<Pistache::Http::Header::ContentType>(
Pistache::Http::Mime::MediaType(json_format));
response.send(
Pistache::Http::Code(sm_context_response.get_http_code()),
json_data.dump().c_str());
body = json_data.dump().c_str();
} else { // otherwise, send reply without content
response.send(Pistache::Http::Code(sm_context_response.get_http_code()));
return;
}
response.send(
Pistache::Http::Code(sm_context_response.get_http_code()), body);
}
} // namespace api
} // namespace smf_server
......
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