Fix getPullrequests signature in adapter