We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 868591e commit 0ba92d0Copy full SHA for 0ba92d0
src/lib/api/upload/upload.ts
@@ -233,7 +233,7 @@ export class Upload extends EventEmitter {
233
const f = await getFile(input, this.sanitizerOptions, this.mimetype);
234
f.customName = this.overrideFileName;
235
236
- if (this.overrideFileName) {
+ if (this.altText) {
237
f.alt = this.altText
238
}
239
@@ -269,7 +269,7 @@ export class Upload extends EventEmitter {
269
const f = await getFile(input[i], this.sanitizerOptions, this.mimetype);
270
271
272
273
274
275
0 commit comments