Skip to content

Commit 6b29101

Browse files
committed
make thumbnail_resources optional
1 parent 72fac76 commit 6b29101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const PostNode = t.type({
9696
edge_media_preview_like: EdgeMediaToComment,
9797
owner: PostNodeOwner,
9898
thumbnail_src: t.string,
99-
thumbnail_resources: DisplayResources,
99+
thumbnail_resources: t.union([DisplayResources, t.undefined]),
100100
is_video: t.boolean,
101101
accessibility_caption: t.union([t.string, t.undefined, t.null]),
102102
display_resources: t.union([DisplayResources, t.undefined]),

0 commit comments

Comments
 (0)