Skip to content

Commit

Permalink
Merge pull request #3183 from juliemturner/version-4
Browse files Browse the repository at this point in the history
Fix resumableUpload error behavior
  • Loading branch information
patrick-rodgers authored Dec 20, 2024
2 parents 8b40b0c + 8ded4d9 commit d4b42d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graph/files/resumableUpload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function getUploadSession(resuableUploadOptions: any): Promise<{ses
const session = await graphPost(q, body(postBody));

// Create a new queryable for the upload session
const uploadQueryable = GraphQueryable(session.uploadUrl).using(CopyFrom(this, "replace", (k) => /(pre|init|send|parse|post|data)/i.test(k)));
const uploadQueryable = GraphQueryable(session.uploadUrl).using(CopyFrom(this, "replace", (k) => /(pre|init|send|parse|post|data|error)/i.test(k)));

const resumableUpload = ResumableUpload(uploadQueryable);

Expand Down

0 comments on commit d4b42d5

Please sign in to comment.