The Untraceable
The Untraceable
Explore posts from servers
TTCTheo's Typesafe Cult
Created by The Untraceable on 4/16/2025 in #questions
Adding extra data into uploads
Hi. I'm just getting started using UploadThing in my new NextJS Application. I have uploads working great, and I am using onUploadComplete to store the entry in my Database. I want to make it so that the user can add extra data, more precisely how long the file should be stored for before it's automatically deleted, how many times someone can view the file, etc. Would this be possible with UploadThing, and if so, how? I am using NextJS and just followed the basic guide, nothing extra setup. Thanks. One workaround I think could work is letting the user add on that extra data before upload, and once the client callback is called, make a PATCH request to my API (which stores the upload info), and just update the database info there.
3 replies
BABetter Auth
Created by The Untraceable on 4/5/2025 in #help
User VS Account
Hi there. I was looking into the hooks before and after account and user creation, and I was just wondering. what's the difference between the two objects? Thanks
6 replies
BABetter Auth
Created by The Untraceable on 3/29/2025 in #help
State check failing for Discord OAUTH2
No description
4 replies