AIdeaText commited on
Commit
10e44cd
·
verified ·
1 Parent(s): 000587d

Update modules/database/sql_db.py

Browse files
Files changed (1) hide show
  1. modules/database/sql_db.py +1 -4
modules/database/sql_db.py CHANGED
@@ -49,10 +49,7 @@ def create_user(username, password, role, additional_info=None):
49
  'partitionKey': username # Añadir partition key al documento
50
  }
51
 
52
- container.create_item(
53
- body=user_data,
54
- enable_cross_partition_query=True
55
- )
56
  logger.info(f"Usuario {role} creado: {username}")
57
  return True
58
 
 
49
  'partitionKey': username # Añadir partition key al documento
50
  }
51
 
52
+ container.create_item(body=user_data)
 
 
 
53
  logger.info(f"Usuario {role} creado: {username}")
54
  return True
55