Skip to content

Commit

Permalink
fix Companion tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Aug 8, 2023
1 parent fb28797 commit 4291be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@uppy/companion/src/server/Uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ class Uploader {
}

try {
const httpMethod = (this.options.httpMethod || '').toUpperCase() === 'PUT' ? 'PUT' : 'POST'
const httpMethod = (this.options.httpMethod || '').toUpperCase() === 'PUT' ? 'put' : 'post'
const runRequest = got[httpMethod]

const response = await runRequest(url, reqOptions)
Expand Down

0 comments on commit 4291be4

Please sign in to comment.