Skip to content

Commit d9295ed

Browse files
committed
ST-2 bug fix
1 parent c5df45c commit d9295ed

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/com/sergiofreire/xray/tutorials/springboot/boundary/UserRestController.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ public ResponseEntity<User> getCarById(@PathVariable(value = "id") Long id)
3939

4040
@GetMapping(path="/users" )
4141
public List<User> getAllUsers() {
42-
// return userService.getAllUsers();
43-
// bug on purpose ...
44-
return null;
42+
return userService.getAllUsers();
4543
}
4644

4745
@DeleteMapping("/users/{id}")

0 commit comments

Comments
 (0)