fix error when paramsToUse is null in makeFindMixin
With the makeFindMixin
, the user is allowed to pass null
as the params in order to prevent a query from being made. An error would occur when returning null
as the fetchParams
. This guards against trying to set an attribute on null
.