mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-25 17:29:24 +00:00
feat(api): remove mediaType and mimeType from DTO responses and DB MediaInfo interface
This commit is contained in:
@@ -401,7 +401,6 @@ export class NotificationService {
|
||||
info.asset = {
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user