aiTextToSpeech- bucket and folder manipulation not working
This commit is contained in:
@@ -59,8 +59,8 @@ const aiTextToSpeech = async (req, res) => {
|
||||
const formData = new FormData();
|
||||
formData.append('file1', audioBuffer, 'speech.mp3');
|
||||
formData.append('file2', textBuffer, 'text.txt');
|
||||
formData.append('folder', folderName); // Send folder name as form data
|
||||
formData.append('bucket', 'beanstalkedu-test'); // Adjust bucket if needed
|
||||
// formData.append('folder', folderName); // Send folder name as form data
|
||||
// formData.append('bucket', 'docs'); // Adjust bucket if needed
|
||||
|
||||
// Send the POST request to upload the files
|
||||
const response = await axios.post(
|
||||
|
||||
Reference in New Issue
Block a user