Hellooo - so I have some files uploaded to retool storage. I've recorded the file ids (the uuids) in a separate database. Is there some javascript that would convert a fileId to a url so people can view or download these files? These files are likely to be docs or pdfs.
let file = query2.data
utils.downloadFile({base64Data: file.base64Data}, "cat", "jpeg")
// won't work
Instead, take this approach:
let file = query2.data
utils.downloadFile(file.base64Data, "cat", "jpeg")
// or utils.downloadFile({base64Binary: file.base64Data}, "cat", "jpeg")
// works like a charm!