#946 Got fetch of pending invites to work end-to-end