Delete Doesnt work for nodejs server

Delete Doesnt work for nodejs server sync, as we are sending back id, which is the auto generated id of sync table rather than objectId.