bug fix for view previews, was passing in params as part of the endpoint

Signed-off-by: Matthew Schmidt <mschmidt@pumpwell.ca>