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 {
28
28
public:
29
29
typedef oatpp::web::protocol::http::outgoing::Response OutgoingResponse;
30
30
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 ;
32
32
private:
33
33
std::shared_ptr<oatpp::data::mapping::ObjectMapper> m_objectMapper;
34
34
public:
@@ -45,7 +45,7 @@ class ServiceComponent {
45
45
error->code = 500 ;
46
46
error->error = " Unhandled Error" ;
47
47
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 ());
49
49
}
50
50
51
51
};
You can’t perform that action at this time.
0 commit comments