Skip to content

Update user.go#163

Open
skam22 wants to merge 1 commit intoGetStream:masterfrom
skam22:patch-2
Open

Update user.go#163
skam22 wants to merge 1 commit intoGetStream:masterfrom
skam22:patch-2

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
@skam22 skam22 requested review from gumuz and yaziine as code owners April 16, 2024 22:44
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.

1 participant