Commit f832891
committed
Fix TypeError: Cannot read property 'length' of undefined
at _convertToBatch dynamics-web-api/lib/requests/sendRequest.js:117:40
The problem happens because we nullify _batchRequestId too early,
before the batch request is made. With _batchRequestId it generates a
new requestId, other than all operations were saved to, thus it crashes1 parent e7379a4 commit f832891
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1474 | 1474 | | |
1475 | 1475 | | |
1476 | 1476 | | |
1477 | | - | |
1478 | | - | |
| 1477 | + | |
1479 | 1478 | | |
1480 | 1479 | | |
1481 | 1480 | | |
| 1481 | + | |
| 1482 | + | |
1482 | 1483 | | |
1483 | 1484 | | |
1484 | 1485 | | |
| |||
0 commit comments