diff options
Diffstat (limited to 'internal/processing/report')
-rw-r--r-- | internal/processing/report/create.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/internal/processing/report/create.go b/internal/processing/report/create.go index cc2f2405c..a7e83b656 100644 --- a/internal/processing/report/create.go +++ b/internal/processing/report/create.go @@ -64,11 +64,7 @@ func (p *processor) Create(ctx context.Context, account *gtsmodel.Account, form } } - reportID, err := id.NewULID() - if err != nil { - return nil, gtserror.NewErrorInternalError(err) - } - + reportID := id.NewULID() report := >smodel.Report{ ID: reportID, URI: uris.GenerateURIForReport(reportID), |