mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
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":
|
||||
r = await snapchat({
|
||||
url,
|
||||
username: patternMatch.username,
|
||||
storyId: patternMatch.storyId,
|
||||
spotlightId: patternMatch.spotlightId,
|
||||
shortLink: patternMatch.shortLink || false
|
||||
...patternMatch
|
||||
});
|
||||
break;
|
||||
case "loom":
|
||||
r = await loom({
|
||||
id: patternMatch.id
|
||||
});
|
||||
break;
|
||||
case "facebook":
|
||||
r = await facebook({
|
||||
...patternMatch,
|
||||
|
|
Loading…
Reference in a new issue