We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4070b4 commit f63629fCopy full SHA for f63629f
lib/create-environment-api.js
@@ -591,7 +591,7 @@ export default function createEnvironmentApi ({
591
*
592
* client.getSpace('<space_id>')
593
* .then((space) => space.getEnvironment('<environment-id>'))
594
- * .then((environment) => environment.createUpload({file: uploadStream, 'image/png'})
+ * .then((environment) => environment.createUpload({file: uploadStream})
595
* .then((upload) => console.log(upload))
596
* .catch(console.error)
597
*/
0 commit comments