Fix code.

This commit is contained in:
yohan 2024-06-21 18:03:56 +02:00
parent 72d93d280a
commit 22e20028fc

3
api.py
View File

@ -260,5 +260,6 @@ class Search_integer_metric(Resource):
api.add_namespace(ns_stock)
api.add_namespace(ns_float_metric)
api.add_namespace(ns_integer_metric)
db.create_all()
with app.app_context():
db.create_all()