0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Fixed typo in v2 oembed API

- canary uses `maxwidth` and it's the correct parameter to use
This commit is contained in:
Daniel Lockyer 2020-12-01 08:58:42 +00:00
parent 5c5bf2d3b0
commit 8f86885132

View file

@ -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
}));