Decrease in vaginal discharge 37 weeks

I’m 37+2 and the last few days there’s been hardly any discharge in my underwear. I have had lots of discharge through the rest of my pregnancy.

What can cause this?

Note:

I have had some on off cramping the last week and some lightning crotch