"Sweet potatoes contain more calories, carbohydrates and fat than regular boiled potato but the regular potato had more protein. Unsurprisingly, boiled sweet potatoes contain more than 14 times the amount of sugar of regular boiled potatoes (11.6g compared to 0.8g per 100g).
Both sweet potatoes and potatoes contain similar amounts of fibre (2.1g and 1.6g in 100g of sweet and regular potatoes respectively) but boiled potatoes contain almost twice the amount of starch compared to boiled sweet potatoes (15.2g compared to 8.1g per 100g)
In terms of micronutrients, boiled sweet potatoes come out on top in terms of vitamin C, magnesium, calcium, iron and phosphorus while the regular potato wins when it comes to potassium, Vitamin B1 and folic acid."
https://www.nutritics.com/p/news_Sweet-Potato-vs.-Regular-Potato-How-do-they-compare#:~:text=Sweet%20potatoes%20contain%20more%20calories,to%200.8g%20per%20100g).
I think both can be part of a healthy diet for most people with diabetes but I do know that some cannot tolerate this form of carbohydrate very well and choose to eat a very low carb diet, avoiding all forms of bread, pasta and potatoes.