Newcastle’s focus is now on the League Cup final after they ground out a 1-0 win at West Ham.