diff --git a/core/server/api/v2/oembed.js b/core/server/api/v2/oembed.js index cfa2007978..b6f202a9cf 100644 --- a/core/server/api/v2/oembed.js +++ b/core/server/api/v2/oembed.js @@ -39,7 +39,7 @@ function unknownProvider(url) { } function knownProvider(url) { - return extract(url, {maxwith: 1280}).catch((err) => { + return extract(url, {maxwidth: 1280}).catch((err) => { return Promise.reject(new errors.InternalServerError({ message: err.message }));