Skip to content

Commit

Permalink
fix: vet
Browse files Browse the repository at this point in the history
  • Loading branch information
tomanagle committed Apr 2, 2024
1 parent e0d508f commit 815147e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/store/mock/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (m *SessionStoreMock) CreateSession(session *store.Session) (*store.Session
return args.Get(0).(*store.Session), args.Error(1)
}

func (m *SessionStoreMock) GetUserFromSession(sessionID string) (*store.User, error) {
args := m.Called(sessionID)
func (m *SessionStoreMock) GetUserFromSession(sessionID string, userID string) (*store.User, error) {
args := m.Called(sessionID, userID)
return args.Get(0).(*store.User), args.Error(1)
}

0 comments on commit 815147e

Please sign in to comment.