From 3ab892f9f8505b17726adfd0287a8987b0f18bf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20D=C3=BCnkelmann?= Date: Sat, 2 Dec 2023 16:21:12 +0100 Subject: [PATCH] chore(Gallery): update issue link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/broofa/mime/issues/295 Signed-off-by: Martin Dünkelmann --- src/models/builder/rtc-cologne/gallery/GalleryEntryBuilder.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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