diff options
Diffstat (limited to 'internal/processing/user/user.go')
-rw-r--r-- | internal/processing/user/user.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/processing/user/user.go b/internal/processing/user/user.go index fce628d0c..4fda4c1f6 100644 --- a/internal/processing/user/user.go +++ b/internal/processing/user/user.go @@ -19,19 +19,19 @@ package user import ( - "github.com/superseriousbusiness/gotosocial/internal/db" "github.com/superseriousbusiness/gotosocial/internal/email" + "github.com/superseriousbusiness/gotosocial/internal/state" ) type Processor struct { + state *state.State emailSender email.Sender - db db.DB } // New returns a new user processor -func New(db db.DB, emailSender email.Sender) Processor { +func New(state *state.State, emailSender email.Sender) Processor { return Processor{ + state: state, emailSender: emailSender, - db: db, } } |