diff options
Diffstat (limited to 'internal/processing/account/get.go')
-rw-r--r-- | internal/processing/account/get.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/account/get.go b/internal/processing/account/get.go index d6f1aa71f..c558b52ed 100644 --- a/internal/processing/account/get.go +++ b/internal/processing/account/get.go @@ -44,7 +44,7 @@ func (p *processor) Get(ctx context.Context, requestingAccount *gtsmodel.Account } func (p *processor) GetLocalByUsername(ctx context.Context, requestingAccount *gtsmodel.Account, username string) (*apimodel.Account, gtserror.WithCode) { - targetAccount, err := p.db.GetLocalAccountByUsername(ctx, username) + targetAccount, err := p.db.GetAccountByUsernameDomain(ctx, username, "") if err != nil { if err == db.ErrNoEntries { return nil, gtserror.NewErrorNotFound(errors.New("account not found")) |