Kaynağa Gözat

docs: correct syntax typos

ifedapoolarewaju 4 yıl önce
ebeveyn
işleme
4f21f6b12b
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      website/src/docs/companion.md
  2. 1 1
      website/src/docs/uppy.md

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

@@ -391,7 +391,7 @@ To work well with Companion, the **Module** must be a class with the following m
     - token - authorization token (retrieved from oauth process) to send along with your request
     - directory - the `id/name` of the directory from which data is to be retrieved. This may be ignored if it doesn't apply to your provider
     - query - expressjs query params object received by the server (just in case there is some data you need in there).
-  - `done (err, data)` - the callback that should be called when the request to your provider is made. As the signature indicates, the following data should be passed along to the callback `err`, and [`data`]((#list-data)).
+  - `done (err, data)` - the callback that should be called when the request to your provider is made. As the signature indicates, the following data should be passed along to the callback `err`, and [`data`](#list-data).
 2. `download (options, onData)` - downloads a particular file from the provider.
   - `options` - is an object containing the following attributes:
     - token - authorization token (retrieved from oauth process) to send along with your request.

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

@@ -523,7 +523,7 @@ const updatedFile = Object.assign({}, updatedFiles[fileID], {
     bytesTotal: data.bytesTotal,
     percentage: Math.floor((data.bytesUploaded / data.bytesTotal * 100).toFixed(2))
   })
-))
+})
 updatedFiles[data.id] = updatedFile
 uppy.setState({files: updatedFiles})
 ```