Iga Swiatek has accepted a one-month suspension after testing positive for a prohibited substance.