[#916942] Fix index.js call signature