Skip to content

Commit

Permalink
Update to the latest oatpp API.
Browse files Browse the repository at this point in the history
  • Loading branch information
lganzzzo committed May 23, 2020
1 parent ccb0661 commit 996921c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dto/HealthDto.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
* Data Transfer Object. Object containing fields only.
* Used in API for serialization/deserialization and validation
*/
class HealthDto : public oatpp::Object {
class HealthDto : public oatpp::DTO {

DTO_INIT(HealthDto, Object)
DTO_INIT(HealthDto, DTO)

DTO_FIELD(String, status);

Expand Down

0 comments on commit 996921c

Please # to comment.