Skip to content

Commit

Permalink
Fix: null to business dto
Browse files Browse the repository at this point in the history
  • Loading branch information
emost22 committed Jun 22, 2024
1 parent 4a371b8 commit e190884
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public class CategoryController {
*/
@GetMapping
public RestResponse<GetAllCategoryBusiness.Result> getAllCategory() {
return RestResponse.success(getAllCategoryBusiness.execute(null));
return RestResponse.success(getAllCategoryBusiness.execute(new GetAllCategoryBusiness.Dto()));
}
}

0 comments on commit e190884

Please sign in to comment.