Skip to content

Commit

Permalink
Fixed issue with missing error behavior in resumableUpload
Browse files Browse the repository at this point in the history
  • Loading branch information
Julie Turner committed Dec 20, 2024
1 parent d7eaea9 commit c4fb486
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 c4fb486

Please sign in to comment.