diff --git a/ee/backend/internal/db/datasaver/methods.go b/ee/backend/internal/db/datasaver/methods.go index 3f61b7a3e..92312d745 100644 --- a/ee/backend/internal/db/datasaver/methods.go +++ b/ee/backend/internal/db/datasaver/methods.go @@ -77,7 +77,7 @@ func (s *saverImpl) handleExtraMessage(msg messages.Message) error { // Mobile messages case *messages.IOSSessionEnd: return s.ch.InsertMobileSession(session) - case *messages.IOSCustomEvent: + case *messages.IOSEvent: return s.ch.InsertMobileCustom(session, m) case *messages.IOSClickEvent: return s.ch.InsertMobileClick(session, m) diff --git a/ee/backend/pkg/db/clickhouse/connector.go b/ee/backend/pkg/db/clickhouse/connector.go index 538ea805a..9b8dc149d 100644 --- a/ee/backend/pkg/db/clickhouse/connector.go +++ b/ee/backend/pkg/db/clickhouse/connector.go @@ -38,7 +38,7 @@ type Connector interface { InsertMouseThrashing(session *sessions.Session, msg *messages.MouseThrashing) error // Mobile InsertMobileSession(session *sessions.Session) error - InsertMobileCustom(session *sessions.Session, msg *messages.IOSCustomEvent) error + InsertMobileCustom(session *sessions.Session, msg *messages.IOSEvent) error InsertMobileClick(session *sessions.Session, msg *messages.IOSClickEvent) error InsertMobileSwipe(session *sessions.Session, msg *messages.IOSSwipeEvent) error InsertMobileInput(session *sessions.Session, msg *messages.IOSInputEvent) error @@ -581,7 +581,7 @@ func (c *connectorImpl) InsertMobileSession(session *sessions.Session) error { return nil } -func (c *connectorImpl) InsertMobileCustom(session *sessions.Session, msg *messages.IOSCustomEvent) error { +func (c *connectorImpl) InsertMobileCustom(session *sessions.Session, msg *messages.IOSEvent) error { if err := c.batches["ios_custom"].Append( session.SessionID, uint16(session.ProjectID),