summaryrefslogtreecommitdiff
path: root/api/routes/readings.py
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-11-03 09:23:05 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-11-03 09:23:05 -0300
commit5db282c517f604b233668dc21d3a81de2d1857b4 (patch)
treedada700c5ee5a4d32e6b483f9a970aa12619f2d0 /api/routes/readings.py
parentde7df7c80b2b0a2d2efe9c97463003771bc58bfa (diff)
esqueci de fechar a session
Diffstat (limited to 'api/routes/readings.py')
-rw-r--r--api/routes/readings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/routes/readings.py b/api/routes/readings.py
index 957106c..59af328 100644
--- a/api/routes/readings.py
+++ b/api/routes/readings.py
@@ -24,5 +24,6 @@ async def get_readings():
}
dc['readings'].append(re)
dc['size'] = len(dc['readings'])
+ session.close()
return dc