fix [P-263]: отправляю массивом
This commit is contained in:
1 parent
dc94900724
commit
39be4d8191
1 file changed
+1
-1
@@ -329,7 +329,7 @@ async function deleteTestingRecord(testingId) {
|
|||||||
try {
|
try {
|
||||||
if (Array.isArray(testingId)) {
|
if (Array.isArray(testingId)) {
|
||||||
await axiosApiInstance.put('/api/tests/testingview/', {
|
await axiosApiInstance.put('/api/tests/testingview/', {
|
||||||
'id[]': testingId
|
'id': testingId
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user