icomad
Explore posts from serversTTCTheo's Typesafe Cult
•Created by icomad on 6/24/2023 in #questions
Uploadthing onUploadComplete file size is undefined
Hey all, the property
file
on the parameter of onUploadComplete
callback should have a size
property that is not undefined
based on its type UploadedFile
, but this is not the case. I've tried both on local and in production on vercel and I always get file.size
as undefined
. Is there something wrong in the implementation or is the type UploadedFile
wrong and the file size is not actually added to the object?3 replies