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

Fixed File interface and improve contentType #335

Closed
wants to merge 2 commits into from

Conversation

mksglu
Copy link

@mksglu mksglu commented May 19, 2020

File interface is not part of Javascript (node.js); it belongs to Web APIs. So, the File is not available in your node.js application.sendFile may be used in different parts on the client-side or in some SDKs. So instead of removing this line, we should add some conditions. And this code actually does accept mime-type as 3rd argument but is in a different case. I think we can use this control a little more flexibly. #239

@jaapbakker88
Copy link
Contributor

@mksglu thanks for the pr, can you run yarn lint-fix on this to make sure code style is correct.

@tbarbugli tbarbugli requested a review from mahboubii September 30, 2020 07:14
@mahboubii
Copy link
Contributor

@mksglu Thanks for the contribution, this issue is resolved as part of #448

@mahboubii mahboubii closed this Sep 30, 2020
kevinnath1007 pushed a commit to kevinnath1007/stream-chat-js that referenced this pull request Aug 31, 2022
fix: fix wrong render function in the loop
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.

3 participants