Spaces:
Runtime error
Runtime error
Update app.py (#4)
Browse files- Update app.py (d6a5b2264f56745baf5e6019f092a17fcb322f10)
Co-authored-by: Surendra <nagasurendra@users.noreply.huggingface.co>
app.py
CHANGED
|
@@ -10,7 +10,7 @@ SF_PASSWORD = os.getenv("SF_PASSWORD", " Sati@1020")
|
|
| 10 |
SF_SECURITY_TOKEN = os.getenv("SF_SECURITY_TOKEN", "sSSjyhInIsUohKpG8sHzty2q")
|
| 11 |
|
| 12 |
# Connect to Salesforce
|
| 13 |
-
sf = Salesforce(username=
|
| 14 |
|
| 15 |
@app.route("/menu", methods=["GET"])
|
| 16 |
def menu():
|
|
|
|
| 10 |
SF_SECURITY_TOKEN = os.getenv("SF_SECURITY_TOKEN", "sSSjyhInIsUohKpG8sHzty2q")
|
| 11 |
|
| 12 |
# Connect to Salesforce
|
| 13 |
+
sf = Salesforce(username=SF_USERNAME, password=SF_PASSWORD, security_token=SF_SECURITY_TOKEN)
|
| 14 |
|
| 15 |
@app.route("/menu", methods=["GET"])
|
| 16 |
def menu():
|