[promise] Fix typo in getStatus declaration