This commit is contained in:
CHIEFSOFT\ameye
2025-01-08 07:08:59 -05:00
parent ea096bea77
commit 61974f0a6d
+6
View File
@@ -381,6 +381,12 @@ def complete_register():
password= data.get('password')
country= data.get('country')
FIND_USERNAME= "SELECT * FROM members WHERE username::text = '"+username+"'"
with connection:
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
cursor.execute(FIND_USERNAME)
user_search = cursor.fetchall()
print(user_search)
user_uid = data['user']['uid']
#'a4b75649-e3c5-424f-bcdb-5481e625d24b'