TerjaN
Explore posts from serversTTCTheo's Typesafe Cult
•Created by TerjaN on 5/13/2024 in #questions
UTApi (Server SDK) - getFileUrls with keyType equals "customId"
I'm using the ids of my products table as customId when saving the files, and I want to retrieve the urls using the id from my database, but the response returns an
I don't think I have a way to know the key with just the customId.
I know there are alternatives, but I like the idea of having my product table like just the id and the name without having to save nothing from uploadthing and just use customId
Thanks
4 replies