✨ feat: add thumbnailCode field to bulk insert video
This commit is contained in:
@ -9,8 +9,8 @@ export interface BulkInsertVideoBodyRequest {
|
||||
episode: number;
|
||||
videos: Array<{
|
||||
service_id: string;
|
||||
videoCode: string;
|
||||
thumbnailCode?: string;
|
||||
video_code: string;
|
||||
thumbnail_code?: string;
|
||||
}>;
|
||||
}>;
|
||||
}
|
||||
|
||||
@ -20,7 +20,8 @@ export const bulkInsertVideoService = async (
|
||||
pendingUpload: false,
|
||||
episodeId: episodeId.id,
|
||||
serviceId: videoData.service_id,
|
||||
videoCode: videoData.videoCode,
|
||||
videoCode: videoData.video_code,
|
||||
thumbnailCode: videoData.thumbnail_code,
|
||||
uploadedBy: SystemAccountId,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user