We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d3422 commit a502765Copy full SHA for a502765
src/lambda/oembed/oembed.js
@@ -20,7 +20,7 @@ function handler(event, context, callback) {
20
const host = getHostname(event, context);
21
const params = event.queryStringParameters;
22
23
- if (params.format !== 'json') {
+ if (params.format === 'xml') {
24
return callback(
25
null,
26
incorrectParams('unsupported format, only json is supported'),
0 commit comments