Skip to content

Commit

Permalink
Update QuestionController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh-Srivastav123 authored May 12, 2024
1 parent 761fb6a commit 724d2a4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ public ResponseEntity<QuestionList> customQuiz(@RequestBody List<CustomQuiz> cus
}
@GetMapping("/category/{category}")
public ResponseEntity<List<CategoryData>> getCategoryData(@PathVariable("category") String category){

log.info("category info "+ category);
List<CategoryData> categoryDataList=questionServices.getCategoryListData(category);

if(categoryDataList==null){
Expand Down

0 comments on commit 724d2a4

Please sign in to comment.