Hopefully, it was done using the triune formula given in Matthew 28. Jesus was speaking to those who would administer baptisms, so we should take his instructions seriously. Otherwise, this isn't a valid baptism and this poor young woman was duped by bad theology.