Alaskan donut
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Alaskan donut on 9/14/2024 in #questions
uploadthing replacing name and adding customId in middleware fails to run
This middleware does not run, despite this being close to what is provided in the documentation for changing file names and adding
customId
s (https://docs.uploadthing.com/file-routes#middleware). Logging the error provided by useUploadThing()
's onUploadError
gives UploadThingError: Failed to run middleware... Caused by: Object { … }
1 replies