From f98775a493e13bb33609731ba421a462bac969c8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1JS6RSM\\Admin" Date: Thu, 19 Feb 2026 17:54:00 +0800 Subject: [PATCH] fix bug --- iti/applications/routes/iot/endpoint_ctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iti/applications/routes/iot/endpoint_ctl.py b/iti/applications/routes/iot/endpoint_ctl.py index bdd1d52..2c99b44 100644 --- a/iti/applications/routes/iot/endpoint_ctl.py +++ b/iti/applications/routes/iot/endpoint_ctl.py @@ -105,7 +105,7 @@ def delete_endpoint(id: int): endpoint = db.session.scalar( select(IotEndpoint) - .options(noload(IotEndpoint.workshop, IotEndpoint.device)) + .options(noload(IotEndpoint.workshop), noload(IotEndpoint.device)) .filter_by(id=id)) if not endpoint: raise BizException("采集端不存在")