ExpectedImageOptions: Expected getImage() parameter to be an object. Received
What went wrong?Section titled What went wrong?
getImage()’s first parameter should be an object with the different properties to apply to your image.
In most cases, this error happens because parameters were passed directly instead of inside an object.