feat: add auditing to user routes (#3961)

This commit is contained in:
Colin Adler
2022-09-08 21:16:16 -05:00
committed by GitHub
parent c026464375
commit 4e26e325a6
11 changed files with 258 additions and 61 deletions

View File

@ -19,6 +19,7 @@ import (
agpl "github.com/coder/coder/coderd"
agplAudit "github.com/coder/coder/coderd/audit"
"github.com/coder/coder/coderd/database"
"github.com/coder/coder/coderd/features"
"github.com/coder/coder/coderd/httpapi"
"github.com/coder/coder/codersdk"
"github.com/coder/coder/enterprise/audit"
@ -55,7 +56,7 @@ func newFeaturesService(
db database.Store,
pubsub database.Pubsub,
enablements Enablements,
) agpl.FeaturesService {
) features.Service {
fs := &featuresService{
logger: logger,
database: db,