diff options
Diffstat (limited to 'internal/processing/admin/createdomainblock.go')
-rw-r--r-- | internal/processing/admin/createdomainblock.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/processing/admin/createdomainblock.go b/internal/processing/admin/createdomainblock.go index 690160150..c39a91989 100644 --- a/internal/processing/admin/createdomainblock.go +++ b/internal/processing/admin/createdomainblock.go @@ -56,7 +56,7 @@ func (p *processor) DomainBlockCreate(ctx context.Context, account *gtsmodel.Acc return nil, gtserror.NewErrorInternalError(fmt.Errorf("error creating id for new domain block %s: %s", domain, err)) } - newBlock := gtsmodel.DomainBlock{ + newBlock := >smodel.DomainBlock{ ID: blockID, Domain: domain, CreatedByAccountID: account.ID, @@ -72,7 +72,7 @@ func (p *processor) DomainBlockCreate(ctx context.Context, account *gtsmodel.Acc } // Set the newly created block - block = &newBlock + block = newBlock // Process the side effects of the domain block asynchronously since it might take a while go func() { |