-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elevenlabs new action #10319
Elevenlabs new action #10319
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @GTFalcao, thanks for your contribution! I just added a suggestion but I'm moving it to Ready For QA anyway.
|
||
if (labels) data.append("labels", labels); | ||
data.append("name", name); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for (const [
key,
value,
] of Object.entries(data)) {
formData.append(key, value);
}
you can do it like this instead of adding one by one, just a suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion, in this case however I have to check if the variable is truthy before appending it, which is why I left it this way.
/approve |
/approve |
* pnpm * Package update * pnpm * Add Voice method * Creating Add Voice * pnpm * Adjusting file upload to array * Version bumps * pnpm * Version bump * pnpm
Closes #9089
I was not able to fully validate this as it seems to be a premium feature:
However, I was receiving an error related to the file format beforehand, and after adjusting the format I started receiving this error instead - so it's very likely that the format is correct now and only needs the proper subscription level.