Archived
PAN-52 Fixed issue with the Theorems API
This commit is contained in:
1 parent
4622c49cee
commit
ab360abcf8
1 file changed
-2
-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