We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the documentation (https://www.storyblok.com/docs/api/management/core-resources/stories/delete-a-story) we only need a URL as parameter to Storyblok.delete, which makes sense.
But looking at the code, we see this:
delete(slug: string, params: ISbStoriesParams | ISbContentMangmntAPI, fetchOptions?: ISbCustomFetch): Promise;
Meaning the function requires params
We should be able to delete only using the story url
We need to send a params parameter
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 6.10.4 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
edodusi
Successfully merging a pull request may close this issue.
In the documentation (https://www.storyblok.com/docs/api/management/core-resources/stories/delete-a-story) we only need a URL as parameter to Storyblok.delete, which makes sense.
But looking at the code, we see this:
delete(slug: string, params: ISbStoriesParams | ISbContentMangmntAPI, fetchOptions?: ISbCustomFetch): Promise;
Meaning the function requires params
Expected Behavior
We should be able to delete only using the story url
Current Behavior
We need to send a params parameter
The text was updated successfully, but these errors were encountered: