You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.
I wasn't able to get stories by language using the following method:
sb.getStories({ language: 'es' });
I took a look at the code and this package is using a storyblok-js-client package that uses Storyblok API v1. However, language as query param was introduced in api v2 as I read in the docs.
I changed the API version in the storyblok-js-client package and the above code worked correctly so I think that may be the problem or am I using it wrong?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
I wasn't able to get stories by language using the following method:
I took a look at the code and this package is using a storyblok-js-client package that uses Storyblok API v1. However, language as query param was introduced in api v2 as I read in the docs.
I changed the API version in the storyblok-js-client package and the above code worked correctly so I think that may be the problem or am I using it wrong?
Thanks in advance!
The text was updated successfully, but these errors were encountered: