Skip to content

Commit 8e19aa7

Browse files
authored
Fix Instagram images (#494)
1 parent 3c9b829 commit 8e19aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service/instagram.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function extractImageUrls(response: ApiResponse) {
106106
!response.images ||
107107
!Array.isArray(response.images) ||
108108
response.images.length === 0 ||
109-
typeof response.images !== "string"
109+
typeof response.images[0] !== "string"
110110
) {
111111
return null;
112112
}

0 commit comments

Comments
 (0)