forked from pierront/mylibrary-template
Update OrderSteps.java
This commit is contained in:
@@ -76,7 +76,6 @@ public class OrderSteps {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parse orderLineDtos (attendu: [{ "bookId":978222222, "quantity":2 }])
|
|
||||||
try {
|
try {
|
||||||
String content = orderLineDtos.replace("[", "").replace("]", "").replace("{", "").replace("}", "");
|
String content = orderLineDtos.replace("[", "").replace("]", "").replace("{", "").replace("}", "");
|
||||||
String[] pairs = content.split(",");
|
String[] pairs = content.split(",");
|
||||||
|
Reference in New Issue
Block a user