diff --git a/src/media/media-upload.entity.ts b/src/media/media-upload.entity.ts index 7cd2d11b5..c9f253278 100644 --- a/src/media/media-upload.entity.ts +++ b/src/media/media-upload.entity.ts @@ -34,6 +34,9 @@ export class MediaUpload { }) backendType: string; + @Column() + fileUrl: string; + @Column({ nullable: true, }) diff --git a/src/media/media.service.ts b/src/media/media.service.ts index 3869c6da6..d6a8c95c8 100644 --- a/src/media/media.service.ts +++ b/src/media/media.service.ts @@ -100,6 +100,7 @@ export class MediaService { mediaUpload.id, ); mediaUpload.backendData = backendData; + mediaUpload.fileUrl = url; await this.mediaUploadRepository.save(mediaUpload); return url; }