modified_db #2

Merged
Sosees04ka merged 6 commits from modified_db into main 2024-11-30 01:45:57 +04:00
Showing only changes of commit d986305ee1 - Show all commits

View File

@ -81,7 +81,8 @@ async def get_experiment_parameters_by_exp_category(hash: str):
@router.delete('/{id}/delete')
async def delete_experiment_parameters(id: int):
try:
is_deleted = await delete(LoadParameters, id)
is_deleted = await delete(ExperimentParameters, id)
if is_deleted:
return {"message": "Запись <ExperimentParameters> успешно удалена"}
else: