Skip to content

Commit 69b694c

Browse files
authored
Update UserController.hpp
1 parent 4c5a3f0 commit 69b694c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controller/UserController.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class UserController : public oatpp::web::server::api::ApiController {
3434
info->addConsumes<Object<UserDto>>("application/json");
3535

3636
info->addResponse<Object<UserDto>>(Status::CODE_200, "application/json");
37-
info->addResponse<Object<StatusDto>>(Status::CODE_500, "application/json");
37+
info->addResponse<Object<StatusDto>>(Status::CODE_404, "application/json");
3838
info->addResponse<Object<StatusDto>>(Status::CODE_500, "application/json");
3939
}
4040
ENDPOINT("POST", "users", createUser,

0 commit comments

Comments
 (0)