mirror of
https://github.com/movie-web/backend.git
synced 2025-09-13 10:53:25 +00:00
Return ID in progress item response
This commit is contained in:
@@ -53,6 +53,7 @@ export class ProgressItem {
|
||||
}
|
||||
|
||||
export interface ProgressItemDTO {
|
||||
id: string;
|
||||
tmdbId: string;
|
||||
season: {
|
||||
id?: string;
|
||||
@@ -77,6 +78,7 @@ export function formatProgressItem(
|
||||
progressItem: ProgressItem,
|
||||
): ProgressItemDTO {
|
||||
return {
|
||||
id: progressItem.id,
|
||||
tmdbId: progressItem.tmdbId,
|
||||
episode: {
|
||||
id: progressItem.episodeId,
|
||||
|
Reference in New Issue
Block a user