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

fix: modify ExportUserResponse to the actual structure #284

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

Conversation

zsadm
Copy link

@zsadm zsadm commented Jul 17, 2024

Submit a pull request

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)

Description of the pull request

Fix ExportUserResponse struct to match the exact structure to the response of the GET /users/{user_id}/export endpoint

The actual response has a User object and the user's messages and reactions.
https://getstream.io/chat/docs/rest/#product:chat-exportuser

I did not find any tests related to the fix to modify.

@zsadm zsadm changed the title Fix export user response fix: modify ExportUserResponse to the actual structure Jul 17, 2024
@zsadm zsadm marked this pull request as draft July 17, 2024 08:05
…ponse of the GET /users/{user_id}/export endpoint

The actual response has a User object and the user's messages and reactions.
https://getstream.io/chat/docs/rest/#product:chat-exportuser
@zsadm zsadm marked this pull request as ready for review July 17, 2024 08:11
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