Fix typo in object-api

Change-Id: I47dd7ded9381f61d740a29abebea03ff612eb2fd
Closes-Bug: #1355943