Spaces:
test-sj-crm
/
Runtime error

DmitrMakeev commited on
Commit
d0a3bf9
·
verified ·
1 Parent(s): 8146e53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -229,7 +229,7 @@ def handle_api():
229
 
230
  @app.route("/save_db", methods=['GET'])
231
  def handle_save_db():
232
- response = save_db()
233
  return response
234
 
235
 
 
229
 
230
  @app.route("/save_db", methods=['GET'])
231
  def handle_save_db():
232
+ response = save_db(app) # Передаем экземпляр app в функцию save_db
233
  return response
234
 
235