I have a contract sync that’s connected to afterSave
function. I used to be able to use request.object.id
to get an id of the object (so I can add some extra data to it) but after updating the server, it doesn’t work anymore. request.object.id
returns undefined. Is there currently any way to get the current object id in the afterSave function?
try to use logger.info(JSON.stringify(request))
to see how the data looks like
I don’t know of any change to afterSave