Update app.py
Browse files
app.py
CHANGED
|
@@ -896,6 +896,8 @@ def update_or_insert_user(db_name, user_data, mapping_template):
|
|
| 896 |
conn.commit()
|
| 897 |
conn.close()
|
| 898 |
|
|
|
|
|
|
|
| 899 |
@app.route('/send_get_request', methods=['GET'])
|
| 900 |
def send_get_request():
|
| 901 |
token = request.args.get('token')
|
|
@@ -954,7 +956,6 @@ def send_get_request():
|
|
| 954 |
|
| 955 |
|
| 956 |
|
| 957 |
-
|
| 958 |
|
| 959 |
@app.route('/biz_v', methods=['GET'])
|
| 960 |
def biz_v():
|
|
|
|
| 896 |
conn.commit()
|
| 897 |
conn.close()
|
| 898 |
|
| 899 |
+
app = Flask(__name__)
|
| 900 |
+
|
| 901 |
@app.route('/send_get_request', methods=['GET'])
|
| 902 |
def send_get_request():
|
| 903 |
token = request.args.get('token')
|
|
|
|
| 956 |
|
| 957 |
|
| 958 |
|
|
|
|
| 959 |
|
| 960 |
@app.route('/biz_v', methods=['GET'])
|
| 961 |
def biz_v():
|