From 03152375eca4c6d8b9834bc4036370eeb0ede147 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 6 Aug 2024 21:35:39 +0600 Subject: [PATCH] api/snapchat: fix the reverse strict not equals operator oh my god --- api/src/processing/services/snapchat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/processing/services/snapchat.js b/api/src/processing/services/snapchat.js index bb7a3e74..d8b00770 100644 --- a/api/src/processing/services/snapchat.js +++ b/api/src/processing/services/snapchat.js @@ -60,7 +60,7 @@ async function getStory(username, storyId) { picker: defaultStory.snapList.map(snap => ({ type: snap.snapMediaType === 0 ? 'photo' : 'video', url: snap.snapUrls.mediaUrl, - thumb: snap.snapMediaType ==! 0 ? snap.snapUrls.mediaPreviewUrl.value : undefined, + thumb: snap.snapMediaType !== 0 ? snap.snapUrls.mediaPreviewUrl.value : undefined, })) } }