Dreamers

Updated at 6:17 p.m. ET

Congress has voted to avert a partial government shutdown that could have come Friday night.

Congress, once again, finds itself days away from a potential government shutdown, and a fight over immigration could stand in the way of a deal to prevent it.

"It could happen," Trump told reporters Wednesday. "Democrats are really looking at something that is very dangerous for our country. They are looking at shutting down. They want to have illegal immigrants in many cases, people that we don't want in our country, they want to have illegal immigrants pouring into our country."

The clock is winding down for thousands of immigrants who were brought to the U.S. illegally as children.

The Trump administration has stopped accepting new applications for the program known as DACA, or Deferred Action for Childhood Arrivals, that protects nearly 700,000 so-called DREAMers from deportation. Thursday is the deadline for thousands of current DACA recipients to renew their status for what could be the last time.

Republicans who might have been leery of supporting the bipartisan Dream Act got a more conservative-friendly option this week in the form of a new bill dubbed the SUCCEED Act (Solution for Undocumented Children through Careers, Employment, Education and Defending our nation).

President Trump appears to be in the mood to make deals with Democrats — and Democrats see an opportunity to protect young immigrants.

On Wednesday, the president overruled leaders of his own party — and members of his own Cabinet — to back a plan pushed by Democrats to pair hurricane relief aid to a short-term hike in the debt ceiling along with a measure to keep the government funded until early December.

Former President Barack Obama criticized the Trump administration for once again casting a shadow of deportation over young people who were brought to the country illegally as children.

Obama renewed his call for Congress to grant permanent protection to these so-called DREAMers.