From b516033f09ad6e38f1c076a3364979b69e98dfa5 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Wed, 24 Jul 2024 15:17:58 +0000 Subject: [PATCH] match: clean up snapchat call & add missing `break`s --- src/modules/processing/match.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/modules/processing/match.js b/src/modules/processing/match.js index 3c16a75b..b7d46333 100644 --- a/src/modules/processing/match.js +++ b/src/modules/processing/match.js @@ -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,