Skip to content

Commit

Permalink
fix(compositeBrain): update connection logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mamadoudicko committed Dec 6, 2023
1 parent 97e53e4 commit c2fb19c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from logger import get_logger
from models.settings import get_supabase_client

from modules.brain.entity.composite_brain_connection_entity import (
CompositeBrainConnectionEntity,
)
Expand All @@ -21,8 +22,8 @@ def connect_brain(
self.db.table("composite_brain_connections")
.insert(
{
"composite_brain_id": composite_brain_id,
"connected_brain_id": connected_brain_id,
"composite_brain_id": str(composite_brain_id),
"connected_brain_id": str(connected_brain_id),
}
)
.execute()
Expand Down

0 comments on commit c2fb19c

Please sign in to comment.