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

Support @fastify/multipart, fastify/multipart is no longer supported #5

Open
Sakrotae opened this issue Feb 3, 2023 · 0 comments
Open

Comments

@Sakrotae
Copy link

Sakrotae commented Feb 3, 2023

Info from https://www.npmjs.com/package/fastify-multipart ("[email protected] has been deprecated. Please use @fastify/[email protected] instead.")

If I use your package with the current version of @fastify-multipart, the files will be saved, but:

  async upload(
    @Req() request: Request,
    @UploadedFile() file: DiskStorageFile,
  ): Promise<any> {
    console.log(file);
  }

file is not a DisStorageFile but a async function

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

No branches or pull requests

1 participant