Skip to content

Commit 3ab892f

Browse files
committed
chore(Gallery): update issue link
See broofa/mime#295 Signed-off-by: Martin Dünkelmann <[email protected]>
1 parent ebab3b3 commit 3ab892f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models/builder/rtc-cologne/gallery/GalleryEntryBuilder.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// TODO Workaround for `The requested module 'mime/lite' does not provide an export named 'getType'` https://github.com/broofa/mime/issues/291
1+
// TODO Workaround for `The requested module 'mime/lite' does not provide an export named 'getType'` https://github.com/broofa/mime/issues/295
22
import mime from 'mime/lite'
33
import ABuilder from 'src/models/builder/ABuilder'
44
import GalleryEntry from 'src/models/entities/rtc-cologne/gallery/GalleryEntry'
@@ -15,7 +15,7 @@ export default class GalleryEntryBuilder extends ABuilder {
1515

1616
setImageUrl = (value: string): this => {
1717
this.galleryEntry.imageUrl = new URL(`https://${value}`)
18-
// TODO Workaround for `The requested module 'mime/lite' does not provide an export named 'getType'` https://github.com/broofa/mime/issues/291
18+
// TODO Workaround for `The requested module 'mime/lite' does not provide an export named 'getType'` https://github.com/broofa/mime/issues/295
1919
this.galleryEntry.mimeType = mime.getType(value)
2020

2121
return this

0 commit comments

Comments
 (0)