From 5db282c517f604b233668dc21d3a81de2d1857b4 Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 3 Nov 2025 09:23:05 -0300 Subject: esqueci de fechar a session --- api/routes/sensors.py | 1 + 1 file changed, 1 insertion(+) (limited to 'api/routes/sensors.py') diff --git a/api/routes/sensors.py b/api/routes/sensors.py index 18e0f84..89744e3 100644 --- a/api/routes/sensors.py +++ b/api/routes/sensors.py @@ -24,4 +24,5 @@ async def get_sensors(): } dc['sensors'].append(dev) dc['size'] = len(dc['sensors']) + session.close() return dc -- cgit v1.2.3