diff --git a/src/models/builder/rtc-cologne/gallery/GalleryEntryBuilder.ts b/src/models/builder/rtc-cologne/gallery/GalleryEntryBuilder.ts index 004d8459c..41fb026de 100644 --- a/src/models/builder/rtc-cologne/gallery/GalleryEntryBuilder.ts +++ b/src/models/builder/rtc-cologne/gallery/GalleryEntryBuilder.ts @@ -1,4 +1,4 @@ -// TODO Workaround for `The requested module 'mime/lite' does not provide an export named 'getType'` https://github.com/broofa/mime/issues/291 +// TODO Workaround for `The requested module 'mime/lite' does not provide an export named 'getType'` https://github.com/broofa/mime/issues/295 import mime from 'mime/lite' import ABuilder from 'src/models/builder/ABuilder' import GalleryEntry from 'src/models/entities/rtc-cologne/gallery/GalleryEntry' @@ -15,7 +15,7 @@ export default class GalleryEntryBuilder extends ABuilder { setImageUrl = (value: string): this => { this.galleryEntry.imageUrl = new URL(`https://${value}`) - // TODO Workaround for `The requested module 'mime/lite' does not provide an export named 'getType'` https://github.com/broofa/mime/issues/291 + // TODO Workaround for `The requested module 'mime/lite' does not provide an export named 'getType'` https://github.com/broofa/mime/issues/295 this.galleryEntry.mimeType = mime.getType(value) return this