🐛 (fileUpload) Fix files deletion on result delete
This commit is contained in:
@@ -172,7 +172,7 @@ export const generateUploadUrl = publicProcedure
|
||||
filePath,
|
||||
maxFileSize:
|
||||
fileUploadBlock.options && 'sizeLimit' in fileUploadBlock.options
|
||||
? fileUploadBlock.options.sizeLimit
|
||||
? (fileUploadBlock.options.sizeLimit as string)
|
||||
: env.NEXT_PUBLIC_BOT_FILE_UPLOAD_MAX_SIZE,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user