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
When using the JS client to request a signed response object to upload a file via management API, there is a type error when specifying an asset folder.
Expected Behavior
I expect to not get a type error in my IDE
Current Behavior
I get a type error
Steps to Reproduce
Following the documentation I set up a request to get a signed response object to upload a file via management API. When I specify an asset folder id, I get a type error in VS Code
constspaceId='<SPACE_ID>'constpat='<PAT>'constStoryblok=newStoryblokClient({oauthToken: pat,})awaitStoryblok.post(`spaces/${spaceId}}/assets`,{asset_folder_id: 123,// here is the type error "only specify known properties"filename: 'your_file.jpg',size: '640x359',validate_upload: 1,})
The text was updated successfully, but these errors were encountered:
When using the JS client to request a signed response object to upload a file via management API, there is a type error when specifying an asset folder.
Expected Behavior
I expect to not get a type error in my IDE
Current Behavior
I get a type error
Steps to Reproduce
Following the documentation I set up a request to get a signed response object to upload a file via management API. When I specify an asset folder id, I get a type error in VS Code
The text was updated successfully, but these errors were encountered: