Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions storage/aiconnectors/connector_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ type DisplayOrderUpdate struct {
DisplayOrder int
}

type ConnectorStore struct {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Severity: critical

type Connecto is incomplete and replaces the ConnectorStore struct. NewConnectorStore still returns *ConnectorStore, causing a compile failure. Restore the struct definition or rename all references consistently.

Suggestions:

  1. Restore type ConnectorStore struct { db *sql.DB }.
  2. If renaming to Connecto, add the missing underlying type and update NewConnectorStore and all callers.

db *sql.DB
}
type Connecto

func NewConnectorStore(db *sql.DB) *ConnectorStore {
return &ConnectorStore{db: db}
Expand Down
Loading