mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 13:17:45 +02:00
api/snapchat: fix the reverse strict not equals operator
oh my god
This commit is contained in:
@ -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,
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user