Democrats and Republicans have reached an agreement over border security to fund the US government and avoid another shutdown, which cost the US economy $11 billion.

The agreement only contains a fraction of the funds President Trump wanted for his border wall, and the US leader said he’s not happy with the deal.

The deal still needs Congress’ approval, with lawmakers optimistic the bill can be approved by Friday, when funding runs out for some federal agencies.