match: clean up snapchat call & add missing break
s
This commit is contained in:
parent
4080cd4581
commit
b516033f09
1 changed files with 3 additions and 4 deletions
|
@ -193,15 +193,14 @@ export default async function(host, patternMatch, lang, obj) {
|
||||||
case "snapchat":
|
case "snapchat":
|
||||||
r = await snapchat({
|
r = await snapchat({
|
||||||
url,
|
url,
|
||||||
username: patternMatch.username,
|
...patternMatch
|
||||||
storyId: patternMatch.storyId,
|
|
||||||
spotlightId: patternMatch.spotlightId,
|
|
||||||
shortLink: patternMatch.shortLink || false
|
|
||||||
});
|
});
|
||||||
|
break;
|
||||||
case "loom":
|
case "loom":
|
||||||
r = await loom({
|
r = await loom({
|
||||||
id: patternMatch.id
|
id: patternMatch.id
|
||||||
});
|
});
|
||||||
|
break;
|
||||||
case "facebook":
|
case "facebook":
|
||||||
r = await facebook({
|
r = await facebook({
|
||||||
...patternMatch,
|
...patternMatch,
|
||||||
|
|
Loading…
Reference in a new issue