Fixed issue where I was passing an empty object.