Skip to content

Commit

Permalink
Merge pull request #415 from classtranscribe/Preserve-CaptionType-OnEdit
Browse files Browse the repository at this point in the history
Preserve CaptionType OnEdit
  • Loading branch information
angrave authored Nov 14, 2023
2 parents bd8b9c7 + 2550269 commit 7906967
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ClassTranscribeServer/Controllers/CaptionsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public async Task<ActionResult<Caption>> PostCaption(Caption modifiedCaption)
Begin = oldCaption.Begin,
End = oldCaption.End,
Index = oldCaption.Index,
CaptionType = oldCaption.CaptionType,
Text = modifiedCaption.Text,
TranscriptionId = oldCaption.TranscriptionId
};
Expand Down

0 comments on commit 7906967

Please sign in to comment.