api/reddit: add support for mobile links & bunch of other links (#1098)
* api/reddit: extract params from a mobile share link * api/reddit: add support for a bunch of links & update the api endpoint also fixed "undefined" in a filename when downloading a user post * api/service-patterns: fix reddit id pattern
This commit is contained in:
@@ -120,9 +120,8 @@ export default async function({ host, patternMatch, params }) {
|
||||
|
||||
case "reddit":
|
||||
r = await reddit({
|
||||
sub: patternMatch.sub,
|
||||
id: patternMatch.id,
|
||||
user: patternMatch.user
|
||||
...patternMatch,
|
||||
dispatcher,
|
||||
});
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user