mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Support command redirects to OpenBB Support page (#1846)
This commit is contained in:
@@ -1367,15 +1367,14 @@ def handle_error_code(requests_obj, error_code_map):
|
||||
|
||||
def prefill_form(ticket_type, menu, path, command, message):
|
||||
"""Pre-fille Google Form and open it in the browser"""
|
||||
form_id = "1FAIpQLSe0-HKitlJMtTO9C2VR7uXVtTzmQgiyE1plf3nEkYCRx6WGRg"
|
||||
form_url = f"https://docs.google.com/forms/d/e/{form_id}/viewform?"
|
||||
form_url = "https://openbb.co/support?"
|
||||
|
||||
params = {
|
||||
"entry.2091304642": ticket_type,
|
||||
"entry.2098699567": menu,
|
||||
"entry.1862722780": path,
|
||||
"entry.1248966702": command,
|
||||
"entry.110036167": message,
|
||||
"type": ticket_type,
|
||||
"menu": menu,
|
||||
"path": path,
|
||||
"command": command,
|
||||
"message": message,
|
||||
}
|
||||
|
||||
url_params = urllib.parse.urlencode(params)
|
||||
|
||||
Reference in New Issue
Block a user