File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,11 +94,16 @@ commtrackr.init({ // Initialize CommTracker with configurations
9494 // Custom handler function for processing commission data
9595 // This function is called when a commission is created
9696 // You can implement your own logic here, such as saving to a database
97+ // data contains the commission fields data array
98+ // Action metadata can be accessed via data.createdAt and data.createdBy
9799 },
98100 update : (req , data ) => {
99101 // Custom handler function for updating commission data
100102 // This function is called when a commission is updated
101103 // You can implement your own logic here, such as saving to a database
104+ // data contains the updated commission object
105+ // Action metadata can be accessed via data.updatedAt and data.updatedBy
106+ // Updated fields can be accessed via data.fields
102107 },
103108 sync : (req ) => {
104109 // Custom handler function for syncing user's commissions
You can’t perform that action at this time.
0 commit comments