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:
parent
5c5bf2d3b0
commit
8f86885132
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ function unknownProvider(url) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function knownProvider(url) {
|
function knownProvider(url) {
|
||||||
return extract(url, {maxwith: 1280}).catch((err) => {
|
return extract(url, {maxwidth: 1280}).catch((err) => {
|
||||||
return Promise.reject(new errors.InternalServerError({
|
return Promise.reject(new errors.InternalServerError({
|
||||||
message: err.message
|
message: err.message
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in a new issue