summaryrefslogtreecommitdiff
path: root/internal/processing/account/update.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/account/update.go')
-rw-r--r--internal/processing/account/update.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/processing/account/update.go b/internal/processing/account/update.go
index 1ab25787f..54bf372e7 100644
--- a/internal/processing/account/update.go
+++ b/internal/processing/account/update.go
@@ -23,6 +23,7 @@ import (
"context"
"errors"
"fmt"
+ "github.com/sirupsen/logrus"
"io"
"mime/multipart"
@@ -37,7 +38,7 @@ import (
)
func (p *processor) Update(ctx context.Context, account *gtsmodel.Account, form *apimodel.UpdateCredentialsRequest) (*apimodel.Account, error) {
- l := p.log.WithField("func", "AccountUpdate")
+ l := logrus.WithField("func", "AccountUpdate")
if form.Discoverable != nil {
account.Discoverable = *form.Discoverable