Actually commit the transaction
This commit is contained in:
parent
6b90edf053
commit
7b95cfe833
1 changed files with 1 additions and 0 deletions
|
|
@ -85,5 +85,6 @@ func ComplianceRequestMailerCreate(ctx context.Context, user User, site_id int32
|
|||
if err != nil {
|
||||
return 0, fmt.Errorf("create compliance report request: %w", err)
|
||||
}
|
||||
txn.Commit(ctx)
|
||||
return req.ID, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue