mirror of
https://github.com/hexolan/stocklet.git
synced 2026-03-26 19:51:17 +00:00
feat: go report card
fix: comment and log misspellings
This commit is contained in:
@@ -108,7 +108,7 @@ func (c postgresController) CreateOrder(ctx context.Context, orderObj *pb.Order)
|
||||
// Create records for any order items
|
||||
err = c.createOrderItems(ctx, tx, newOrder.Id, newOrder.Items)
|
||||
if err != nil {
|
||||
// The deffered rollback will be called (so the transaction will not be commited)
|
||||
// The deffered rollback will be called (so the transaction will not be committed)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user