summaryrefslogtreecommitdiff
path: root/api/routes/measures.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/measures.py
parentde7df7c80b2b0a2d2efe9c97463003771bc58bfa (diff)
esqueci de fechar a session
Diffstat (limited to 'api/routes/measures.py')
-rw-r--r--api/routes/measures.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/routes/measures.py b/api/routes/measures.py
index f98c203..195da9a 100644
--- a/api/routes/measures.py
+++ b/api/routes/measures.py
@@ -22,4 +22,5 @@ async def get_measures():
}
dc['measures'].append(mem)
dc['size'] = len(dc['measures'])
+ session.close()
return dc