PAN-52 Fixed issue with the Theorems API
This commit is contained in:
-2
@@ -52,8 +52,6 @@ public class TheoremController {
|
|||||||
return new ResponseEntity<>(HttpStatus.BAD_REQUEST);
|
return new ResponseEntity<>(HttpStatus.BAD_REQUEST);
|
||||||
}
|
}
|
||||||
|
|
||||||
branch = branch.toLowerCase();
|
|
||||||
|
|
||||||
if (branch.contains("_") || branch.contains("-")) {
|
if (branch.contains("_") || branch.contains("-")) {
|
||||||
branch = branch.replace("_", "\\s");
|
branch = branch.replace("_", "\\s");
|
||||||
branch = branch.replace("-", "\\s");
|
branch = branch.replace("-", "\\s");
|
||||||
|
|||||||
Reference in New Issue
Block a user