Skip to content

Commit c95bd16

Browse files
committed
fix: update LiveItemService to explicitly set start_time and end_time in finalDto
1 parent 9a6a2ee commit c95bd16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/liveItem/liveItem.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export class LiveItemService extends BaseOneService<LiveItem, 'item'> {
2020
console.log('LiveItemService.update called with item.id:', item.id);
2121
console.log('LiveItemService.update called with dto:', dto);
2222
const finalDto = {
23-
...dto,
23+
start_time: dto.start_time,
24+
end_time: dto.end_time,
2425
live_item_status_id: dto.live_item_status
2526
};
2627
console.log('LiveItemService.update finalDto:', finalDto);

0 commit comments

Comments
 (0)