In a 220–197 vote, the House passed the National Defense Authorization Act on Friday.