Skip to content

Commit

Permalink
[client] Minor: Remove invalid parameter from assets.upload(...) example
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Sep 27, 2017
1 parent 8ad48b3 commit 0a7488a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ ctx.fillText('Sanity', 8, 30)
canvas.toBlob(uploadImageBlob, 'image/png')

function uploadImageBlob(blob) {
client.assets.upload('image', blob, "image/png")
client.assets.upload('image', blob)
.then(document => {
console.log('The image was uploaded!', document)
})
Expand Down

0 comments on commit 0a7488a

Please sign in to comment.