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/locations.py | 1 + 1 file changed, 1 insertion(+) (limited to 'api/routes/locations.py') diff --git a/api/routes/locations.py b/api/routes/locations.py index a2e4dc6..744fa7f 100644 --- a/api/routes/locations.py +++ b/api/routes/locations.py @@ -25,6 +25,7 @@ async def get_locations(): } dc['locations'].append(l) dc['size'] = len(dc['locations']) + session.close() return dc -- cgit v1.2.3