I am quite new to solidity, and I have not managed to find a solution for this problem.
I am passing the function an address but it says the following: "Invalid type for argument in function call. Invalid implicit conversion from address to address payable request."
address admin;
function endSale() public {
require(msg.sender == admin);
selfdestruct(admin);
}