Skip to content

Commit 06fef10

Browse files
committed
support changing caption timing
1 parent 6a78953 commit 06fef10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ClassTranscribeServer/Controllers/CaptionsController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ public async Task<ActionResult<Caption>> PostCaption(Caption modifiedCaption)
9999
}
100100
Caption newCaption = new Caption
101101
{
102-
Begin = oldCaption.Begin,
103-
End = oldCaption.End,
102+
Begin = modifiedCaption.Begin,
103+
End = modifiedCaption.End,
104104
Index = oldCaption.Index,
105105
CaptionType = oldCaption.CaptionType,
106106
Text = modifiedCaption.Text,

0 commit comments

Comments
 (0)