Skip to content

Commit

Permalink
fix: altText error
Browse files Browse the repository at this point in the history
  • Loading branch information
sethk4783 committed Oct 18, 2024
1 parent cfe319d commit 07a1bf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* @private
*/
const PICKER_VERSION = '1.29.3';
const PICKER_VERSION = 'beta';

/**
* @private
Expand Down
2 changes: 1 addition & 1 deletion src/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ export class Client extends EventEmitter {
this.emit('upload.error', e);
});

return upload.upload(file, options.altText);
return upload.upload(file, options && options.altText);
}

/**
Expand Down

0 comments on commit 07a1bf6

Please sign in to comment.