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

Update user.go #163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update user.go #163

wants to merge 1 commit into from

Conversation

skam22
Copy link

@skam22 skam22 commented Apr 16, 2024

Fixed typo in --user-id

Updated set flag to required since an unset command without a set command fails with Error: unexpected end of JSON input.

example:

stream-cli chat update-user-partial --user-id SAMPLE_USER_ID -u username

outputs:

Error: unexpected end of JSON input
stream-cli chat update-user-partial --user-id SAMPLE_USER_ID --set {} -u username

outputs:

Successfully updated user [SAMPLE_USER_ID]

Fixed typo in --user-id and updated set flag to required
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.

None yet

1 participant