Update app.py
Browse files
app.py
CHANGED
|
@@ -134,7 +134,8 @@ def add_person(name, image_path, instagram_handle, email=None):
|
|
| 134 |
"info": {
|
| 135 |
"instagram_handle": instagram_handle,
|
| 136 |
"instagram_link": f"https://www.instagram.com/{instagram_handle}/"
|
| 137 |
-
}
|
|
|
|
| 138 |
}
|
| 139 |
if email:
|
| 140 |
person_data["info"]["email"] = email
|
|
|
|
| 134 |
"info": {
|
| 135 |
"instagram_handle": instagram_handle,
|
| 136 |
"instagram_link": f"https://www.instagram.com/{instagram_handle}/"
|
| 137 |
+
},
|
| 138 |
+
"added_by": st.session_state.auth_state["user"].email # Added this line
|
| 139 |
}
|
| 140 |
if email:
|
| 141 |
person_data["info"]["email"] = email
|