diff --git a/backend/backend.go b/backend/backend.go index 7ec60ea..74dd2e9 100644 --- a/backend/backend.go +++ b/backend/backend.go @@ -71,5 +71,5 @@ type Conn interface { LoadUsers(ids []uint64) ([]*models.User, error) // LoadAllUsers fetches and returns all users. - LoadAllUsers(ids []uint64) ([]*models.User, error) + LoadAllUsers() ([]*models.User, error) } diff --git a/backend/noop/driver.go b/backend/noop/driver.go index ab6a57c..7ca92ea 100644 --- a/backend/noop/driver.go +++ b/backend/noop/driver.go @@ -54,7 +54,7 @@ func (n *NoOp) LoadUsers(ids []uint64) ([]*models.User, error) { } // LoadAllUsers returns (nil, nil). -func (n *NoOp) LoadAllUsers(ids []uint64) ([]*models.User, error) { +func (n *NoOp) LoadAllUsers() ([]*models.User, error) { return nil, nil }