Update api/utils.py
Browse files- api/utils.py +2 -2
api/utils.py
CHANGED
@@ -66,7 +66,7 @@ def get_random_name_email_customer():
|
|
66 |
|
67 |
random_name = f"{random.choice(first_names)} {random.choice(last_names)}"
|
68 |
email_username = ''.join(random.choices(string.ascii_lowercase + string.digits, k=8))
|
69 |
-
random_email = f"{email_username}@
|
70 |
suffix_length = len("Rldf7IKdNhdhiw")
|
71 |
suffix_chars = string.ascii_letters + string.digits
|
72 |
random_suffix = ''.join(random.choice(suffix_chars) for _ in range(suffix_length))
|
@@ -88,7 +88,7 @@ def generate_session(email: str, id_length: int = 21, days_ahead: int = 365) ->
|
|
88 |
|
89 |
return {
|
90 |
"user": {
|
91 |
-
"name": "
|
92 |
"email": email,
|
93 |
"image": image_url,
|
94 |
"id": numeric_id
|
|
|
66 |
|
67 |
random_name = f"{random.choice(first_names)} {random.choice(last_names)}"
|
68 |
email_username = ''.join(random.choices(string.ascii_lowercase + string.digits, k=8))
|
69 |
+
random_email = f"{email_username}@blackbox.ai"
|
70 |
suffix_length = len("Rldf7IKdNhdhiw")
|
71 |
suffix_chars = string.ascii_letters + string.digits
|
72 |
random_suffix = ''.join(random.choice(suffix_chars) for _ in range(suffix_length))
|
|
|
88 |
|
89 |
return {
|
90 |
"user": {
|
91 |
+
"name": "BLACKBOX.AI",
|
92 |
"email": email,
|
93 |
"image": image_url,
|
94 |
"id": numeric_id
|