Skip to content

Commit

Permalink
Fix typos and add env vars to .env.example (#4624)
Browse files Browse the repository at this point in the history
* Add OneDrive env vars to .env.example

* Fix typos in comments
  • Loading branch information
dschmidt authored Aug 14, 2023
1 parent 0ac6478 commit d7775d1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ COMPANION_ZOOM_SECRET=***
COMPANION_UNSPLASH_KEY=***
COMPANION_UNSPLASH_SECRET=***

COMPANION_ONEDRIVE_KEY=***
COMPANION_ONEDRIVE_SECRET=****

# Development environment
# =======================

Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/companion/src/server/controllers/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const downloadURL = async (url, blockLocalIPs, traceId) => {
}

/**
* Fteches the size and content type of a URL
* Fetches the size and content type of a URL
*
* @param {object} req expressJS request object
* @param {object} res expressJS response object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async function fetchKeys (url, providerName, credentialRequestParams) {
}

/**
* Fetches for a providers OAuth credentials. If the config for thtat provider allows fetching
* Fetches for a providers OAuth credentials. If the config for that provider allows fetching
* of the credentials via http, and the `credentialRequestParams` argument is provided, the oauth
* credentials will be fetched via http. Otherwise, the credentials provided via companion options
* will be used instead.
Expand Down

0 comments on commit d7775d1

Please sign in to comment.