Make sure to commit the transaction when committing the CSV
This commit is contained in:
parent
eb03cb5857
commit
31c6bf3a64
1 changed files with 1 additions and 0 deletions
|
|
@ -146,6 +146,7 @@ func JobCommit(ctx context.Context, file_id int32) error {
|
|||
}).One(ctx, txn)
|
||||
*/
|
||||
}
|
||||
txn.Commit(ctx)
|
||||
return nil
|
||||
}
|
||||
func JobImport(ctx context.Context, file_id int32, type_ enums.FileuploadCsvtype) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue