Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi committed Nov 15, 2024
1 parent d76294c commit 51f5884
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/sources/companion-plugins/google-drive-picker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
slug: /google-drive-picker
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

import UppyCdnExample from '/src/components/UppyCdnExample';

# Google Drive Picker

The `@uppy/google-drive` plugin lets users import files from their
Expand Down
5 changes: 5 additions & 0 deletions docs/sources/companion-plugins/google-photos-picker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
slug: /google-photos-picker
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

import UppyCdnExample from '/src/components/UppyCdnExample';

# Google Photos Picker

The `@uppy/google-photos` plugin lets users import files from their
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/companion/src/server/helpers/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ module.exports.getProtectedGot = getProtectedGot
* @param {boolean} allowLocalIPs
* @returns {Promise<{name: string, type: string, size: number}>}
*/
exports.getURLMeta = async (url, allowLocalIPs = false, options) => {
exports.getURLMeta = async (url, allowLocalIPs = false, options = undefined) => {
async function requestWithMethod (method) {
const protectedGot = await getProtectedGot({ allowLocalIPs })
const stream = protectedGot.stream(url, { method, throwHttpErrors: false, ...options })
Expand Down

0 comments on commit 51f5884

Please sign in to comment.