We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c8292a commit aee3c91Copy full SHA for aee3c91
2 files changed
src/plugins/cloudinary/index.js
@@ -126,7 +126,7 @@ class CloudinaryContext {
126
127
128
const defaultPosterOptions = posterOptionsForCurrent();
129
- const userPosterOptions = options.posterOptions || {};
+ const userPosterOptions = options.posterOptions;
130
options.poster = options.poster || defaultPosterOptions;
131
options.posterOptions = Object.assign(
132
{},
src/utils/querystring.js
@@ -1,4 +1,7 @@
1
const objectToQuerystring = (obj) => {
2
+ if (!obj) {
3
+ return '';
4
+ }
5
const keys = Object.keys(obj);
6
7
if (!keys.length) {
0 commit comments