Baby not peeing

Meet

Hi mommys , my boy is 6 month old . He had diarrhea since 2 days and urinating less , we saw doctor yesterday his diarrhea is better now but he is not peeing . Its been almost 7 hours sincd doctor visit , he did not pee but drinking milk or pedialyte drink . Any idea why this happend ??