File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class ServiceComponent {
2828 public:
2929 typedef oatpp::web::protocol::http::outgoing::Response OutgoingResponse;
3030 typedef oatpp::web::protocol::http::Status Status;
31- typedef oatpp::web::protocol::http::outgoing::ResponseFactory OutgoingResponseFactory ;
31+ typedef oatpp::web::protocol::http::outgoing::ResponseFactory ResponseFactory ;
3232 private:
3333 std::shared_ptr<oatpp::data::mapping::ObjectMapper> m_objectMapper;
3434 public:
@@ -45,7 +45,7 @@ class ServiceComponent {
4545 error->code = 500 ;
4646 error->error = " Unhandled Error" ;
4747 error->message = message;
48- return OutgoingResponseFactory::createShared (Status::CODE_500, error, m_objectMapper.get ());
48+ return ResponseFactory::createResponse (Status::CODE_500, error, m_objectMapper.get ());
4949 }
5050
5151 };
You can’t perform that action at this time.
0 commit comments