With just hours to spare, Congress approved a short-term spending bill Friday that would prevent a partial federal shutdown over the weekend.

But on President Donald Trump's 99th day in office, lawmakers were leaving until next week without completing two other measures he's coveted: A Republican health care overhaul and a budget financing government for the entire year.

The Senate sent the temporary spending measure to Trump by voice vote after the House approved it by 382-30. The bill keeps the government functioning through next Friday, which leaders hope will give bipartisan bargainers enough time to finish a $1 trillion package financing government through Sept. 30, the end of the fiscal year.

House Democrats had threatened to oppose the short-term government-funding bill if Republicans insisted on also voting on their health care bill.

Saturday marks Trump's 100th day in office, and repealing the Affordable Care Act, also known as "Obamacare," would have been a huge achievement for that milestone.

Rep. Jared Huffman (D-Calif.) tweeted his views of the GOP health care bill.

Majority Leader Kevin McCarthy (R-Calif.) said Republicans had planned to pass the short-term spending bill with only GOP votes, if necessary.

Minority Democrats threatened to withhold support unless there was a bipartisan deal on a massive $1 trillion measure funding agencies through Sept. 30, when the current fiscal year ends.

"We're working on the funding of government. We're getting that through" on Friday, McCarthy said of the temporary spending measure.

The Associated Press contributed to this story.