Parcourir la source

Fix uppy.updateMeta() example

Andreas il y a 7 ans
Parent
commit
df2a3cee0f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      website/src/docs/uppy.md

+ 1 - 1
website/src/docs/uppy.md

@@ -236,7 +236,7 @@ uppy.setMeta({resize: 1500})
 Updated metadata for a specific file.
 Updated metadata for a specific file.
 
 
 ```js
 ```js
-uppy.updateMeta('myfileID', {resize: 1500})
+uppy.updateMeta({resize: 1500}, 'myfileID')
 ```
 ```
 
 
 ### `uppy.reset()`
 ### `uppy.reset()`