Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intercom cli: Fix type for arg conversationId #4563

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Conversation

PopDaph
Copy link
Contributor

@PopDaph PopDaph commented Apr 4, 2024

Description

Arg conversationId for Intercom cli commands is a number not a string.

Risk

None.

Deploy Plan

Nothing special required.

Copy link
Contributor

@philipperolet philipperolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had misunderstood smth (cf com). LGTM 👍

@@ -112,7 +112,7 @@ export const IntercomCommandSchema = t.type({
]),
args: t.type({
connectorId: t.number,
conversationId: t.union([t.string, t.undefined]),
conversationId: t.union([t.number, t.undefined]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but conversationId should be a string sId right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh or is it the conversationId of Intercom not ours? good then

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes!

@PopDaph PopDaph merged commit e1a08a5 into main Apr 4, 2024
5 checks passed
@PopDaph PopDaph deleted the fix-intercom-cli-type branch April 4, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants