Fix sharing objectId passing