mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-26 02:46:52 +00:00
feat(asset): replace mediaType/mimeType logic with proxyType
This commit is contained in:
@@ -402,6 +402,7 @@ export class NotificationService {
|
||||
id: a.id,
|
||||
name: a.name,
|
||||
mediaType: a.mediaType || undefined,
|
||||
proxyType: (a.media as PrismaJson.MediaInfo | null)?.proxyType || undefined,
|
||||
preview: previewUrl || undefined,
|
||||
thumbnailUrl: thumbnailUrl || undefined,
|
||||
originalWidth: originalWidth || undefined,
|
||||
|
||||
Reference in New Issue
Block a user