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