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

client.im.file.create上传类型为stream时报错 #96

Closed
ifuner opened this issue Jul 12, 2024 · 2 comments
Closed

client.im.file.create上传类型为stream时报错 #96

ifuner opened this issue Jul 12, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@ifuner
Copy link

ifuner commented Jul 12, 2024

image

@ifuner
Copy link
Author

ifuner commented Jul 12, 2024

  const result = await client.im.file.create({
      data: {
       file_type: 'stream',
      file: fs.readFileSync(path.join(process.cwd(), 'package.json')),
      file_name: 'package.json ',
      }
    });

@mazhe-nerd
Copy link
Collaborator

Duplicate of: #39

@mazhe-nerd mazhe-nerd added the duplicate This issue or pull request already exists label Jul 15, 2024
@mazhe-nerd mazhe-nerd closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants