Skip to content

Commit bea4921

Browse files
committed
Fixed typo in story functions
1 parent 3c65ce4 commit bea4921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/snapchat.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ public function getStory($media_id, $key, $iv) {
10091009
$blob = self::getBlob('/story_blob?story_id=' . $media_id);
10101010

10111011
if (!empty($blob)) {
1012-
return self::AES128DecryptCBC($blob_data, $key, $iv);
1012+
return self::AES128DecryptCBC($blob, $key, $iv);
10131013
}
10141014

10151015
return FALSE;
@@ -1034,7 +1034,7 @@ public function getStoryThumb($media_id, $key, $iv) {
10341034
$blob = self::getBlob('/story_thumbnail?story_id=' . $media_id);
10351035

10361036
if (!empty($blob)) {
1037-
return self::AES128DecryptCBC($blob_data, $key, $iv);
1037+
return self::AES128DecryptCBC($blob, $key, $iv);
10381038
}
10391039

10401040
return FALSE;

0 commit comments

Comments
 (0)