I had the diabetes during the first pregnancy. For the second one, people told me just eat whatever you want before the result when diabetes comes. So I ate whatever I liked but not too over. Then the 2nd pregnancy until 28 weeks I still don't have diabetes.
It's really up to your body not to do how much sugar you ate.