WASHINGTON — It’s a race against the clock as lawmakers rush to approve a temporary spending bill, pushing the deadline to fund the government back from Midnight Friday to Jan. 19.

“We were negotiating into the late hours to make sure that we at least have 218 votes on the House side,” said Rep. Mark Meadows, R-North Carolina.

Members of Congress narrowly approved the measure Thursday.

The wrap-up measure includes a reauthorization of FISA, a surveillance program that allows the collection of intelligence on non-U.S. citizens, a modest increase in military spending and Funding for CHIP, the Child Health Insurance program that ran out of money on Sept. 30.

But Democrats say that isn’t good enough.  

"I think the children in Texas, 400,000 of them, millions across the country deserve a permanent solution,” said Rep. Lloyd Doggett, D-Texas.

The House is also passing a separate $81 billion disaster aid bill for communities ravaged by Hurricanes Harvey, Maria, Irma and wildfires in California.

“Let's be honest $81 billion is nothing to sneeze at, as a Floridian I am pleased,” said Rep. Charlie Crist, D-Florida.

"You have a good number to help our agriculture industry, the citrus industry was decimated after Hurricane Irma,” said Rep. Debbie Wasserman Shultz, D-Florida.  

More than 1,000 Dreamers and advocates continued protests on Thursday on Capitol Hill, at one point, even taking over Sen. Mitch McConnell’s office.

“We’re here talking to as many people as we can, visiting as many offices as we can, so that they know that we're tired of just hearing words and tweets and letters. That's all empty. We need their actions," DACA recipient Rosa Hernandez said.

Party leaders are promising to fight out the issue in January.

“We are trying to come up with a balanced plan that the president supports, that has a good resolution for the DACA population,” said Sen. Thom Tillis, R-North Carolina.

The continuing resolution now punts tough decisions related to government spending, immigration and defense into the first part of the new year.