not neccessary parts were removed

This commit is contained in:
miwr 2025-04-08 15:35:11 +02:00
parent 5561e4a4a5
commit 0ed591af29
2 changed files with 0 additions and 24 deletions

View file

@ -26,24 +26,4 @@ public class GameController {
return Collections.singletonMap("totalJumps", total);
}
@GetMapping("/getJumpStrength/low")
public Map<String, Integer> getLowJumpStrength() {
return Collections.singletonMap("JumpStrength", JumpStrength.LOW);
}
@GetMapping("/getJumpStrength/midium")
public Map<String, Integer> getMediumJumpStrength() {
return Collections.singletonMap("JumpStrength", JumpStrength.MEDIUM);
}
@GetMapping("/getJumpStrength/high")
public Map<String, Integer> getHightJumpStrength() {
return Collections.singletonMap("JumpStrength", JumpStrength.HIGH);
}
@GetMapping("/getColor/{name}")
public Map<String, String> getHightJumpStrength(@PathVariable String name) {
Sky sky = new Sky();
return Collections.singletonMap("JumpStrength", sky.getSkyColor(name));
}
}

View file

@ -32,10 +32,6 @@ public class InviteController {
return ResponseEntity.status(500).body("Failed to send email.");
}
}
@GetMapping("/hello")
public ResponseEntity<?> sendInvite2(@RequestBody Map<String, String> payload) {
return ResponseEntity.status(200).body("Failed to send email.");
}
@Autowired
private JavaMailSender mailSender;