Skip to content

Commit

Permalink
Fix asynchronous file retrieval in client.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Titou325 committed Jan 31, 2024
1 parent 1c364a4 commit ca1929e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client-js/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export class Onedoc {
}

return {
file: doc.arrayBuffer(),
file: await doc.arrayBuffer(),
error: null,
info: {},
};
Expand Down

0 comments on commit ca1929e

Please sign in to comment.