Skip to content

Commit

Permalink
API for users made
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunkay7 committed May 16, 2024
1 parent ac532dc commit e155e92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
account_sid = 'AC7f92d212274e6546bfd99c578c3f748b'
auth_token = '4979b7bb72637da58cc0fac43863b8fb'
twilio_phone_number = '8309614765'
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode
.idea
venv/*
venv/*
.env
6 changes: 2 additions & 4 deletions src/backend/GeneralService.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
app = Flask(__name__)

# Twilio credentials
account_sid = 'AC7f92d212274e6546bfd99c578c3f748b'
auth_token = '4979b7bb72637da58cc0fac43863b8fb'
twilio_phone_number = '8309614765'


# Function to establish database connection
def connect_db():
Expand Down Expand Up @@ -68,7 +66,7 @@ def hyperleap_persona():
# Construct the request headers
headers = {
'Content-Type': 'application/json',
'x-hl-api-key': 'OWQ0MmI1YTdjOTQxNDUyNGFmODBmMDBhZmM5ZGMwYzU=' # Replace with your actual API key
'x-hl-api-key': '' # Replace with your actual API key
}

try:
Expand Down

0 comments on commit e155e92

Please sign in to comment.