Skip to content

Commit

Permalink
Merge pull request #187 from karlhorky/patch-1
Browse files Browse the repository at this point in the history
Fix undefined `uri` from `client.replace()`
  • Loading branch information
hedyyytang authored Aug 1, 2023
2 parents cb62cb6 + cf9515a commit 8c0ab00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vimeo.js
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ Vimeo.prototype.replace = function (
if (isPromise) {
return new Promise((resolve, reject) => {
this.request(options).then(attempt => {
attempt.uri = videoUri
attempt.body.uri = videoUri

_self._performTusUpload(
file,
Expand Down

0 comments on commit 8c0ab00

Please sign in to comment.