Fix typo in require promise