Updated 8:45 p.m. | President Donald Trump on Friday evening signed into law a one-week continuing resolution that gives Congress more time to work through disagreements in a massive fiscal 2017 wrapup.

The Senate earlier in the day had cleared the CR that will keep the government from a shutdown for another week.

The chamber’s approval, by voice vote, followed a bipartisan vote in the House in favor of the latest stopgap. Current funding would have run out at midnight.

The extra week should give negotiators time to seal the deal on an omnibus spending bill running through September.

Senate Minority Leader Charles E. Schumer said Appropriations Committee staff stayed up until 1:30 a.m. Thursday continuing to hash out differences on the omnibus spending package.