Validated that the save/load crib functions work

This commit is contained in:
2022-07-12 21:58:15 -05:00
parent 739b1eb4c8
commit 4d49a2755b

View File

@@ -207,12 +207,12 @@ public class GalaxyServer {
}
// Build a response
String stringBuilder = "<loadcrib result=\"" + resultCode + "\" reason=\"" + reason + "\" currCrib=\"1\" name=\"" + cribName + "\">"
String response = "<loadcrib result=\"" + resultCode + "\" reason=\"" + reason + "\" currCrib=\"1\" name=\"" + cribName + "\">"
+ profileData
+ "</loadcrib>";
// Send the response
return new ResponseEntity<>(stringBuilder, HttpStatus.OK);
return new ResponseEntity<>(response, HttpStatus.OK);
}
private ResponseEntity<String> saveCrib(Node node) {