Spaces:
Sleeping
Sleeping
Update menu.py
Browse files
menu.py
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
-
from flask import Blueprint, render_template, request
|
2 |
from salesforce import get_salesforce_connection
|
3 |
|
4 |
menu_blueprint = Blueprint('menu', __name__)
|
5 |
|
6 |
# Initialize Salesforce connection
|
7 |
sf = get_salesforce_connection()
|
|
|
8 |
@menu_blueprint.route("/menu", methods=["GET", "POST"])
|
9 |
def menu():
|
10 |
selected_category = request.args.get("category", "All")
|
|
|
1 |
+
from flask import Blueprint, render_template, request, session
|
2 |
from salesforce import get_salesforce_connection
|
3 |
|
4 |
menu_blueprint = Blueprint('menu', __name__)
|
5 |
|
6 |
# Initialize Salesforce connection
|
7 |
sf = get_salesforce_connection()
|
8 |
+
|
9 |
@menu_blueprint.route("/menu", methods=["GET", "POST"])
|
10 |
def menu():
|
11 |
selected_category = request.args.get("category", "All")
|