But the victory was bittersweet , as lawmakers were voting on a compromise stimulus plan that was smaller than Obama had requested , and most Republicans rebuffed his appeals to join Democrats in approving the bill .