Skip to content

Commit

Permalink
Add record update info to records organize API
Browse files Browse the repository at this point in the history
  • Loading branch information
KinyaElGrande committed Oct 8, 2024
1 parent 5dc7678 commit 126309c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/compose/service/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -1744,6 +1744,8 @@ func (svc record) Organize(ctx context.Context, namespaceID, moduleID, recordID
}
}

svc.recordInfoUpdate(ctx, r)

return store.Tx(ctx, svc.store, func(ctx context.Context, s store.Storer) error {
if err = dalutils.ComposeRecordUpdate(ctx, svc.dal, m, r); err != nil {
return err
Expand Down

0 comments on commit 126309c

Please sign in to comment.