Skip to content

Commit 14d51c9

Browse files
committed
make post's should_log_client_event optional after it appears to be dropped from the api
1 parent e5f88dc commit 14d51c9

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
@@ -177,7 +177,7 @@ export const ShortcodeMedia = t.type({
177177
display_resources: DisplayResources,
178178
accessibility_caption: t.union([t.string, t.undefined]),
179179
is_video: t.boolean,
180-
should_log_client_event: t.boolean,
180+
should_log_client_event: t.union([t.boolean, t.undefined]),
181181
tracking_token: t.string,
182182
edge_media_to_tagged_user: EdgeMediaToCaption,
183183
edge_media_to_caption: EdgeMediaToCaption,

0 commit comments

Comments
 (0)