diff --git a/backend/.sqlc/queries/team_members.sql b/backend/.sqlc/queries/team_members.sql index 8367d3a1..16eb2809 100644 --- a/backend/.sqlc/queries/team_members.sql +++ b/backend/.sqlc/queries/team_members.sql @@ -1,9 +1,9 @@ -- name: CreateTeamMember :one INSERT INTO team_members ( - id, company_id, first_name, last_name, + company_id, first_name, last_name, title, bio, linkedin_url, is_account_owner ) VALUES ( - $1, $2, $3, $4, $5, $6, $7, $8 + $1, $2, $3, $4, $5, $6, $7 ) RETURNING *; diff --git a/backend/internal/v1/v1_teams/members.go b/backend/internal/v1/v1_teams/members.go index 79681cd7..73bd52e5 100644 --- a/backend/internal/v1/v1_teams/members.go +++ b/backend/internal/v1/v1_teams/members.go @@ -42,7 +42,6 @@ func (h *Handler) handleAddTeamMember(c echo.Context) error { // Create team member in database queries := db.New(h.server.GetDB()) member, err := queries.CreateTeamMember(c.Request().Context(), db.CreateTeamMemberParams{ - ID: uuid.New().String(), CompanyID: companyID, FirstName: req.FirstName, LastName: req.LastName,