diff --git a/.env.example b/.env.example index 89fef4aee4..bac7262a7c 100644 --- a/.env.example +++ b/.env.example @@ -51,6 +51,9 @@ COMPANION_ZOOM_SECRET=*** COMPANION_UNSPLASH_KEY=*** COMPANION_UNSPLASH_SECRET=*** +COMPANION_ONEDRIVE_KEY=*** +COMPANION_ONEDRIVE_SECRET=**** + # Development environment # ======================= diff --git a/packages/@uppy/companion/src/server/controllers/url.js b/packages/@uppy/companion/src/server/controllers/url.js index 616c6368b9..d8c6bf23fd 100644 --- a/packages/@uppy/companion/src/server/controllers/url.js +++ b/packages/@uppy/companion/src/server/controllers/url.js @@ -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 diff --git a/packages/@uppy/companion/src/server/provider/credentials.js b/packages/@uppy/companion/src/server/provider/credentials.js index fa41dbaef1..da99ffe5ef 100644 --- a/packages/@uppy/companion/src/server/provider/credentials.js +++ b/packages/@uppy/companion/src/server/provider/credentials.js @@ -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.