fix(backend): msg name
This commit is contained in:
parent
35461acaf3
commit
91f5c16e28
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue