Why did the war powers act have an affect on the US foreign policy?

The War Powers Act substantially limited the ways that the Executive could use the military to overtly affect foreign policy and would require a shift to increased diplomacy.