Jan. 29 (UPI) -- President Donald Trump and Senate Democrats have agreed to a deal that will avert a lengthy government shutdown, but a last-minute objection prevented it from coming to a vote, leaving questions looming over whether both the House and Senate could pass it before the Friday midnight deadline.

The Senate was edging toward a vote Thursday night, but the chamber adjourned after lawmakers failed to reach an agreement. Senators are to return to the chamber Friday, giving them a day to get it to the House and then Trump's desk to avert a shutdown.

"I hope we can get these issues resolved," Senate Majority Leader John Thune told reporters on the Capitol. "Right now, we got snags on both sides, but tomorrow's another day."

Any single senator can stall the bill's advancement. Sen. Lindsey Graham, R-S.C., objected to a provision that would repeal a law allowing lawmakers to sue if their phone records were seized during former special counsel Jack Smith's investigation.

He also stated he disagreed with the absence of funding for the Department of Homeland Security in the package.