Skip to content

Commit

Permalink
@uppy/companion: fix missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed May 22, 2024
1 parent 8090eac commit 469490c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class Drive extends Provider {
// Implemented based on the answer from StackOverflow: https://stackoverflow.com/a/59168288
const mimeTypeExportLink = exportLinks?.[mimeType2]
if (mimeTypeExportLink) {
const gSuiteFilesClient = got.extend({
const gSuiteFilesClient = (await got).extend({
headers: {
authorization: `Bearer ${token}`,
},
Expand Down

0 comments on commit 469490c

Please sign in to comment.