fix [P-227]: замена delete на put
This commit is contained in:
1 parent
1b6cd4ac89
commit
7ae3dbd5b3
1 file changed
+1
-1
@@ -330,7 +330,7 @@ async function deleteTestingRecord(testingId) {
|
||||
try {
|
||||
console.log(`Удаляем назначение теста с ID: ${testingId}`);
|
||||
await axiosApiInstance.put('/api/tests/testingview/', {
|
||||
data: { id: testingId }
|
||||
id: testingId
|
||||
});
|
||||
console.log(`Назначение теста с ID: ${testingId} успешно удалено`);
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user