Skip to content

Commit

Permalink
Fix an issue calling UploadSessionFinishAsync in SimpleTest (#348)
Browse files Browse the repository at this point in the history
Add parameter names to the UploadSessionFinishAsync call in SimpleTest. The old positional parameters were out of date.
  • Loading branch information
greg-db authored May 4, 2023
1 parent 7d93235 commit a7d7f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ private async Task ChunkUpload(DropboxClient client, string folder, string fileN

if (idx == numChunks - 1)
{
await client.Files.UploadSessionFinishAsync(cursor, new CommitInfo(folder + "/" + fileName), memStream);
await client.Files.UploadSessionFinishAsync(cursor:cursor, commit:new CommitInfo(folder + "/" + fileName), body:memStream);
}

else
Expand Down

0 comments on commit a7d7f81

Please sign in to comment.