The code the checks if countries exist or not is the above and it checks if a country is active by checking isActive but there is no property isActive in Country entity making it impossible to register due to the error: "The requested country was not found."
To fix we either have to add isActive or use only findOneById() instead of using findOneActiveById() while registering users.
The code the checks if countries exist or not is the above and it checks if a country is active by checking isActive but there is no property isActive in Country entity making it impossible to register due to the error: "The requested country was not found."
To fix we either have to add isActive or use only findOneById() instead of using findOneActiveById() while registering users.