Rock 3A ups 12vdc

I want power supply rock 3a via a 12vd ups. I used a type-C male to usb 3.0 female cable and a usb3.0 cable of which I took the black and red to power it at 12vdc. Is that correct or did I burn it?

in sch, the vbus pin of type c connector was direct linked to VCC_12V, and i had tested this link on my 3A V1.3 board.
so i think it will work.

Thanks, Rock 3A works