This happened on the 12th of December 2017. The mainstream media, for some reason, have not covered this important news.
Here is a break down of the votes by party:
The legislation that established the current Scottish and Welsh parliaments are the Scotland Act 1998 and the Government of Wales Act 2006.
The government can now use their executive powers to modify both pieces of legislation without a vote in parliament, through Clause 7 of the EU Withdrawal Bill.