Buick encore side mirror assembly broken into two pieces - mirror part broken from the part attached to car

I am taking chances and fixed it as shown in the photos !, it is holding it together.
20190505_150710|242x500