Fix broken pull request API