fix(uploadPreviews): Fixed typo and referencing the wrong function