Skip to content

Update user.go - #163

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

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

Conversation

@skam22

Copy link
Copy Markdown

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 freeto 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

@skam22