mirror of
https://github.com/sussy-code/backend.git
synced 2026-01-11 20:10:18 +00:00
Return ID in progress item response
This commit is contained in:
parent
8e10eb7d59
commit
6d200e8568
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue