mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-27 04:36:37 +00:00
9 lines
295 B
Go
9 lines
295 B
Go
package server
|
|
|
|
import "github.com/netbirdio/netbird/management/server/activity"
|
|
|
|
// GetEvents returns a list of activity events of an account
|
|
func (am *DefaultAccountManager) GetEvents(accountID, userID string) ([]*activity.Event, error) {
|
|
return am.eventStore.Get(accountID, 0, 1000, true)
|
|
}
|