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

bug: The client.getThread() method is not returning complete data. Specifically, the custom field is missing. #2592

Open
vihan85 opened this issue Dec 23, 2024 · 0 comments
Labels
bug Something isn't working status: unconfirmed

Comments

@vihan85
Copy link

vihan85 commented Dec 23, 2024

Describe the bug

when I used a client.getThread() to receive a thread and found the response from the function returned incomplete data compared to the specific api it was missing the title and metadata fields.

const getCurrentThread = async () => {
    const threadResponse = await client.getThread(threadId, {
      reply_limit: 0 // optional,
    });
  console.log(threadResponse);

    // eslint-disable-next-line
  };

Screenshot

Header
Screenshot 2024-12-23 at 16 46 00

Payload
Screenshot 2024-12-23 at 16 46 20

Respond
Screenshot 2024-12-23 at 16 38 01

Expected behavior
Returns all customized fields

Package version
stream-chat-react: ^12.6.0
stream-chat-css:^5.4.0
stream-chat: ^8.40.9

@vihan85 vihan85 added bug Something isn't working status: unconfirmed labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: unconfirmed
Projects
None yet
Development

No branches or pull requests

1 participant