File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ async def validate_and_parse_team_config(
4242 raise ValueError (f"Missing required field: { field } " )
4343
4444 # Generate unique IDs and timestamps
45- unique_id = str (uuid .uuid4 ())
4645 unique_team_id = str (uuid .uuid4 ())
4746 current_timestamp = datetime .now (timezone .utc ).isoformat ()
4847
@@ -80,7 +79,7 @@ async def validate_and_parse_team_config(
8079
8180 # Create team configuration
8281 team_config = TeamConfiguration (
83- id = unique_id , # Use generated GUID
82+ id = unique_team_id , # Use generated GUID
8483 team_id = unique_team_id , # Use generated GUID
8584 name = json_data ["name" ],
8685 status = json_data ["status" ],
@@ -216,7 +215,7 @@ async def get_all_team_configurations(
216215 """
217216 try :
218217 # Query configurations using SQL with parameters
219- query = "SELECT * FROM c WHERE c .user_id=@user_id"
218+ query = "SELECT * FROM memory WHERE memory .user_id=@user_id"
220219 parameters = [
221220 {"name" : "@user_id" , "value" : user_id },
222221 ]
You can’t perform that action at this time.
0 commit comments