api/snapchat: fix the reverse strict not equals operator
oh my god
This commit is contained in:
parent
4505d6cfe1
commit
03152375ec
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ async function getStory(username, storyId) {
|
||||||
picker: defaultStory.snapList.map(snap => ({
|
picker: defaultStory.snapList.map(snap => ({
|
||||||
type: snap.snapMediaType === 0 ? 'photo' : 'video',
|
type: snap.snapMediaType === 0 ? 'photo' : 'video',
|
||||||
url: snap.snapUrls.mediaUrl,
|
url: snap.snapUrls.mediaUrl,
|
||||||
thumb: snap.snapMediaType ==! 0 ? snap.snapUrls.mediaPreviewUrl.value : undefined,
|
thumb: snap.snapMediaType !== 0 ? snap.snapUrls.mediaPreviewUrl.value : undefined,
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue